From d5e9f8d86f26c6194fa264ceb09d13bc78413de9 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 22 Nov 2006 03:42:04 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_servNfs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } -- 2.30.2