From e8fed8c1f0b5a02ee62008dfcd9d297fe8d01168 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 17 Jul 2008 07:58:10 +0000 Subject: [PATCH] Really checked for additional characters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11694 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/applications/class_applicationGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc b/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc index d5ccca44a..5995d1607 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc @@ -425,7 +425,7 @@ class application extends plugin $message[]= msgPool::required(_("Name")); } - if(preg_match("/[^a-z0-9]/",$this->cn)) { + if(preg_match("/[^a-z0-9_-]/",$this->cn)) { $message[]=msgPool::invalid(_("Name"),$this->cn,"/^[a-z0-9_-]*$/"); } -- 2.30.2