From 901d63cee6ae9b0771e452e31a68a2b8e30b9bee Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 6 Jun 2018 09:33:48 +0200 Subject: [PATCH] groups, validation issue, spaces are not allowed here --- src/www/system_groupmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/system_groupmanager.php b/src/www/system_groupmanager.php index 212299081..48d0371a2 100644 --- a/src/www/system_groupmanager.php +++ b/src/www/system_groupmanager.php @@ -84,7 +84,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { do_input_validation($pconfig, $reqdfields, $reqdfieldsn, $input_errors); - if (preg_match("/[^a-zA-Z0-9\.\-_ ]/", $pconfig['name'])) { + if (preg_match("/[^a-zA-Z0-9\.\-_]/", $pconfig['name'])) { $input_errors[] = gettext("The group name contains invalid characters."); }