commit ff0a033d7dfd6c7c3e184d5793d4ffeedfcce561
parent 554ab31dd1c057ceae87675f9ac0e87707a89680
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 8 Jul 2024 21:02:04 +0200
Merge commit 'f19f8c5'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.php b/index.php
@@ -8,7 +8,7 @@
include("config/config.php");
/* Fetch and sanitize search query via GET request */
-$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_FULL_SPECIAL_CHARS);
+$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_STRING);
if (!is_null($_GET["query"])) {
$query = rawurldecode($_GET["query"]);
} else if (!is_null($_GET["q"])) {