From 0d210e1c41e7bff19d7b21a9e32fa25e1ec7ece1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 23 Nov 2006 05:11:24 +0000 Subject: [PATCH] Updated preg_match for serv Nfs git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5198 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servNfs.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."); } -- 2.30.2