This commit is contained in:
Riyyi
2021-06-21 16:53:27 +02:00
parent b1072b360e
commit 8e8d5714b4
+1
View File
@@ -325,6 +325,7 @@ class Router {
switch ($code) { switch ($code) {
case 404: case 404:
// @Todo: find out why this was needed and remove if possible
$service->escape = function (?string $string) { $service->escape = function (?string $string) {
return htmlentities($string, ENT_QUOTES | ENT_HTML5, 'UTF-8'); return htmlentities($string, ENT_QUOTES | ENT_HTML5, 'UTF-8');
}; };