summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8975ffb)
raw | patch | inline | side by side (parent: 8975ffb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Dec 2005 14:10:16 +0000 (14:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Dec 2005 14:10:16 +0000 (14:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2316 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupApplication.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc
index 6122cf25a39682013f1857305971b82a66a6f200..5b746ea9765cdc61c885514f23dbe0bdaf53a6fb 100644 (file)
if((isset($_POST['AddCat']))&&(isset($_POST['CatName']))&&(!empty($_POST['CatName']))){
- if(preg_match("/[^0-9a-z,\.-;:_#\+\- ]/i",$_POST['CatName'])){
+ if(preg_match("/[\\\\\/]/i",$_POST['CatName'])){
print_red(_("Invalid character in category name."));
}elseif(!in_array($_POST['CatName'],$this->Categories)){
if(empty($this->curCatDir)){