From: cajus Date: Thu, 17 Jul 2008 07:58:10 +0000 (+0000) Subject: Really checked for additional characters X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e8fed8c1f0b5a02ee62008dfcd9d297fe8d01168;p=gosa.git Really checked for additional characters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11694 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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_-]*$/"); }