Code

Disallowed () in givenName ..
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2005 05:05:01 +0000 (05:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2005 05:05:01 +0000 (05:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1354 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index d66750bfb710d558d3216bac91c74318fb963c7d..254b506010514e744515471695ff96501b977e6c 100644 (file)
@@ -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.");
   }