aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--inc/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.inc.php b/inc/functions.inc.php
index 77cbe4b..376b6e1 100644
--- a/inc/functions.inc.php
+++ b/inc/functions.inc.php
@@ -34,7 +34,7 @@ function GET($index = NULL, $value = NULL) {
34 case 'h': # host 34 case 'h': # host
35 case 'pi': # plugin instance 35 case 'pi': # plugin instance
36 case 'ti': # type instance 36 case 'ti': # type instance
37 if (!preg_match('/^[\w-.: ]+$/u', $value)) { 37 if (!preg_match('/^[\w\-.: ]+$/u', $value)) {
38 error_log(sprintf('Invalid %s in $_GET["%s"]: "%s"', $desc[$index], $index, $value)); 38 error_log(sprintf('Invalid %s in $_GET["%s"]: "%s"', $desc[$index], $index, $value));
39 return NULL; 39 return NULL;
40 } 40 }