summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0265839)
raw | patch | inline | side by side (parent: 0265839)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 29 Sep 2009 11:41:22 +0000 (11:41 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 29 Sep 2009 11:41:22 +0000 (11:41 +0000) |
is at the end of the share name or not, so that
foo$bar leads to an error.
(Trac: #1960)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14388 594d385d-05f5-0310-b6e9-bd551577e9d8
foo$bar leads to an error.
(Trac: #1960)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14388 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc
index 6540df2c44b256833c5fb6c49c8cdf91bd51e5d0..6718d009db5e19f42a817d462f7f1ea8ad7d66c7 100644 (file)
$message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
}
else {
- if (!preg_match("/^[^\$].*\$$/", $this->name)) {
+ if (!preg_match("/^[^\$]*\$$/", $this->name)) {
$message[] = _("Hidden shares must have the '$' at the end of the name!");
}
}