|
|
@ -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'); |
|
|
|
}; |
|
|
|
}; |
|
|
|