From: hickert Date: Thu, 23 Nov 2006 05:11:24 +0000 (+0000) Subject: Updated preg_match for serv Nfs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d210e1c41e7bff19d7b21a9e32fa25e1ec7ece1;p=gosa.git Updated preg_match for serv Nfs git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5198 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index 043813d5e..4eb776046 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -190,11 +190,11 @@ class servnfs extends plugin } } - if(preg_match("/[^a-z0-9._+ -]+/i",$this->description)){ + if(preg_match("/[^a-z0-9\._+ -]+/i",$this->description)){ $message[]=_("Description contains invalid characters."); } - if(preg_match("/[^a-z0-9._+ -]/i",$this->volume)){ + if(preg_match("/[^a-z0-9\._+ -]/i",$this->volume)){ $message[]=_("Volume contains invalid characters."); }