From e01bbf6aecda24f99803366cbc04e87ac7296904 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 Sep 2005 05:05:01 +0000 Subject: [PATCH] Disallowed () in givenName .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1354 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."); } -- 2.30.2