From: hickert Date: Fri, 17 Mar 2006 07:13:57 +0000 (+0000) Subject: Fixed share name check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dd645e3ae3853be57f07c51c50d20e020b2bf52f;p=gosa.git Fixed share name check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2853 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index c4e1ce646..8b724f4cf 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)){