From: hickert Date: Wed, 14 Sep 2005 05:05:01 +0000 (+0000) Subject: Disallowed () in givenName .. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e01bbf6aecda24f99803366cbc04e87ac7296904;p=gosa.git Disallowed () in givenName .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1354 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index d66750bfb..254b50601 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -946,10 +946,10 @@ class user extends plugin } /* Check for reserved characers */ - if (preg_match ('/[,+"?\'<>;]/', $this->givenName)){ + if (preg_match ('/[,+"?\'()-=<>;]/', $this->givenName)){ $message[]= _("The field 'Given name' contains invalid characters."); } - if (preg_match ('/[,+"?\'<>;]/', $this->sn)){ + if (preg_match ('/[,+"?\'()-=<>;]/', $this->sn)){ $message[]= _("The field 'Name' contains invalid characters."); }