From 9f7c6ebe17b6089e2ecc2a134a7247266215cd6b Mon Sep 17 00:00:00 2001 From: seiichiro Date: Mon, 5 Jun 2023 16:52:07 +0000 Subject: [PATCH] Even more Allowed Characters --- 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 37242bf..6e5e090 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;