From 62482c58bcc249bdffac145a66357ceb1d88cf6d Mon Sep 17 00:00:00 2001 From: psc Date: Wed, 30 Sep 2009 15:14:10 +0000 Subject: [PATCH] Really fix the regular expression for testing of share- names and change the word of the error message (Trac: #1960) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14424 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/nfs/class_servNfs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6718d009d..119ce0795 100644 --- a/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc +++ b/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc @@ -202,7 +202,7 @@ class servnfs extends plugin $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!"); } } -- 2.30.2