From: hickert Date: Fri, 17 Mar 2006 07:08:50 +0000 (+0000) Subject: Added _ to possible characters in sharename X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dfebed30b6bef103b3ad9f613f820e5f3fe8257f;p=gosa.git Added _ to possible characters in sharename git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2852 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index 85455c1ff..c4e1ce646 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -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)){