Code

Added ',=' to allowed characters in option attribute from nfs share.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Nov 2006 03:42:04 +0000 (03:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Nov 2006 03:42:04 +0000 (03:42 +0000)
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

plugins/admin/systems/class_servNfs.inc

index 291a8570699aa8bee0e8a80f095e29d9ab0ecc7d..280d611896cedb5d34065a45e89b47a7c7bc52d3 100644 (file)
@@ -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.");
     }