From 5abe267448ca813f35a6bf9f9e5a08ded732efe3 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Wed, 14 May 2014 23:40:22 +0000 Subject: kernel entry can keep 99 characters -- issue 234 submitted by goritskov at h-node.org --- h-source/Application/Controllers/NotebooksController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Controllers/NotebooksController.php') diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php index 4128a00..02ffbea 100644 --- a/h-source/Application/Controllers/NotebooksController.php +++ b/h-source/Application/Controllers/NotebooksController.php @@ -64,7 +64,7 @@ class NotebooksController extends GenericController "checkMatch|".Hardware::$regExpressions['kernel'] => "kernel|characters not allowed in the kernel entry", "checkLength|40000" => "description", "++checkLength|99" => "video_card_type,wifi_type", - "+++checkLength|49" => "kernel", + "+++checkLength|99" => "kernel", "+checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/" => "video_card_type|only the following characters are allowed for the videocard entry: a-z A-Z 0-9 - _ . + / , : ; ( ) [ ]", "++checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/" => "wifi_type|only the following characters are allowed for the wifi entry: a-z A-Z 0-9 - _ . + / , : ; ( ) [ ]", "+++checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/" => "webcam_type|only the following characters are allowed for the webcam entry: a-z A-Z 0-9 - _ . + / , : ; ( ) [ ]", -- cgit v1.2.3