From 52fab44f032332d1e6b53b99a09b5321f6a9e965 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Wed, 20 Jun 2012 12:07:52 +0000 Subject: changed the regular expr for the model name (to allow comma) --- h-source/Application/Include/hardware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Include/hardware.php') diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 816e7f1..e25c47c 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -41,7 +41,7 @@ class Hardware "kernel" => "/^[a-zA-Z0-9\-\_\.\+\s\(\)\,]+$/", "driver" => "/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/", "vendorid_productid" => "/^[a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}$/", - "model" => "/^[a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/]+$/", + "model" => "/^[a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/\,]+$/", ); public static function translate($string) -- cgit v1.2.3