From 7453d14b5c336fe6ff65cb73d5e5953dff1a1dbb Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 5 Sep 2006 08:56:41 +0000 Subject: [PATCH] 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 --- plugins/personal/environment/class_hotplugDialog.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)){ -- 2.30.2