From b8e072d2248c7752974d7a263214e99afbaf8af5 Mon Sep 17 00:00:00 2001 From: seiichiro Date: Mon, 5 Jun 2023 16:28:56 +0000 Subject: [PATCH] Add More Allowed Characters in Search --- lib/helpers.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers.class.php b/lib/helpers.class.php index 796d1c8..37242bf 100644 --- a/lib/helpers.class.php +++ b/lib/helpers.class.php @@ -24,7 +24,7 @@ class Helpers { // Check Search String for Valid Characters public static function validate_search($search) { - if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?]+$#", $search)) { + if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?\;\(\)]+$#", $search)) { return false; } else { return true;