Code

Disallow $ in share _names_ again
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Oct 2009 09:09:42 +0000 (09:09 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Oct 2009 09:09:42 +0000 (09:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14465 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc

index aee4d9662154506f2c6d44fb463c9fd769371faa..a57a47ac68ad12f6fec16f4a8317fa5582267fa5 100644 (file)
@@ -202,7 +202,7 @@ class servnfs extends plugin
       if(empty($this->name)){
         $message[]= msgPool::required(_("Name"));
       }
-      if(!preg_match("/^[a-z0-9\._äüö\$]*$/ui",$this->name)){
+      if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){
         $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
       }
     }