Code

Added _ to possible characters in sharename
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 17 Mar 2006 07:08:50 +0000 (07:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 17 Mar 2006 07:08:50 +0000 (07:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2852 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servNfs.inc

index 85455c1ff507a4ad0021d13bd2618e7fbcdc363e..c4e1ce6463f563d2acd673722cfcbc9efc134783 100644 (file)
@@ -127,7 +127,7 @@ class servnfs extends plugin
 
     // only 0-9a-z
     if(!$this->is_edit){
-      if(preg_match("/[^a-z0-9.-]/i",$this->name)){
+      if(preg_match("/[^a-z0-9.-_]/i",$this->name)){
         $message[]=_("Please specify a valid name for your setup.");
       }
       if(empty($this->name)){