From: hickert Date: Wed, 22 Nov 2006 03:42:04 +0000 (+0000) Subject: Added ',=' to allowed characters in option attribute from nfs share. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d5e9f8d86f26c6194fa264ceb09d13bc78413de9;p=gosa.git Added ',=' to allowed characters in option attribute from nfs share. To allow value like this 'sync,rsize=8192,wsize=8192' git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5179 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index 291a85706..280d61189 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -202,7 +202,7 @@ class servnfs extends plugin $message[]=_("Path contains invalid characters."); } - if(preg_match("/[^a-z0-9._+ \|-]/i",$this->option)){ + if(preg_match("/[^a-z0-9._,=+ \|-]/i",$this->option)){ $message[]=_("Option contains invalid characters."); }