Code

Apply fix for #5583
[gosa.git] / trunk / gosa-core / plugins / admin / ogroups / class_ogroup.inc
index e9456ef7aa137aeaa3e6e8c25d53cba67e111f4b..a9695489a1ebb7869c78c94f77d333ba003ca063 100644 (file)
@@ -930,8 +930,8 @@ class ogroup extends plugin
       $message[]= msgPool::required(_("Name"));
     }
 
-    if (preg_match('/[=,+<>#;]/', $this->cn)) {
-      $message[] = msgPool::invalid(_("Name"), $this->cn, "/[^=+,<>#;]/");
+    if (preg_match('/[\\\\=\",+<>#;]/', $this->cn)) {
+      $message[] = msgPool::invalid(_("Name"), $this->cn, "/[^\\\\=\"+,<>#;]/");
     }
 
     /* To many different object types? */