Code

Avoid '*' in id's for security reasons
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Sep 2006 08:56:41 +0000 (08:56 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Sep 2006 08:56:41 +0000 (08:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4593 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_hotplugDialog.inc

index 52b8675c6fc76989c45b0050eb6e9dbabd9c267e..61989f959eac2c338b75ecabc7c5f7d7d4dfd732 100644 (file)
@@ -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)){