summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6db0082)
raw | patch | inline | side by side (parent: 6db0082)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Sep 2007 12:05:39 +0000 (12:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Sep 2007 12:05:39 +0000 (12:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7209 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDNSeditZoneEntries.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc
index 08aab71549a71afa7b57f06b085b7c0b6642f728..a77f6c6d3942250cd2df0d781d78d997dd0083da 100644 (file)
/* Checking entry name
*/
- if((!is_uid($DevName)) || (empty($DevName))){
+ if(!preg_match("/^[a-z0-9_\.-]+$/i", $DevName) || (empty($DevName))){
$message[] = sprintf(_("Entry name '%s' contains invalid characters."), $DevName);
}