From: cajus Date: Tue, 5 Sep 2006 08:56:41 +0000 (+0000) Subject: Avoid '*' in id's for security reasons X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7453d14b5c336fe6ff65cb73d5e5953dff1a1dbb;p=gosa.git Avoid '*' in id's for security reasons git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4593 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc index 52b8675c6..61989f959 100644 --- a/plugins/personal/environment/class_hotplugDialog.inc +++ b/plugins/personal/environment/class_hotplugDialog.inc @@ -130,7 +130,7 @@ class hotplugDialog extends plugin $message[]=_("Invalid character in description. Please specify a valid description."); } - if(preg_match("/[\|]/i",$this->HOT_id)){ + if(preg_match("/[\|\*]/i",$this->HOT_id)){ $message[]=_("Please specify a valid id."); } if(!$this->is_2byteHex($this->HOT_vendor)){