From 897f6b2c1a76c167888464d8fae1eb5b93ff22fb Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 25 Feb 2010 16:44:57 +0000 Subject: [PATCH] merged patches git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@15721 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/ogroups/class_ogroup.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index d951b0b08..811096435 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -814,6 +814,10 @@ class ogroup extends plugin $message[]= msgPool::required(_("Name")); } + if (preg_match('/[=,+<>#;]/', $this->cn)) { + $message[] = msgPool::invalid(_("Name"), $this->cn, "/[^=+,<>#;]/"); + } + /* To many different object types? */ if (strlen($this->gosaGroupObjects) > 4){ $message[]= _("You can combine two different object types at maximum, only!"); -- 2.30.2