From 4b2708a1635efc7b2ab8ec5699d57ade3850adc4 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 Feb 2010 08:50:18 +0000 Subject: [PATCH] Added dash to share name regex. Closes #853 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/nfs/class_servNfs.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc index e8203e52b..14bd2677e 100644 --- a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc +++ b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc @@ -198,8 +198,8 @@ class servnfs extends plugin if(empty($this->name)){ $message[]= msgPool::required(_("Name")); } - if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){ - $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]/ui"); + if(!preg_match("/^[a-z0-9\._äüö-]*$/ui",$this->name)){ + $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö-]/ui"); } } -- 2.30.2