From dfebed30b6bef103b3ad9f613f820e5f3fe8257f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 17 Mar 2006 07:08:50 +0000 Subject: [PATCH] Added _ to possible characters in sharename git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2852 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 85455c1ff..c4e1ce646 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -127,7 +127,7 @@ class servnfs extends plugin // only 0-9a-z if(!$this->is_edit){ - if(preg_match("/[^a-z0-9.-]/i",$this->name)){ + if(preg_match("/[^a-z0-9.-_]/i",$this->name)){ $message[]=_("Please specify a valid name for your setup."); } if(empty($this->name)){ -- 2.30.2