Browse Source

Add todo

master
Riyyi 3 years ago
parent
commit
8e8d5714b4
  1. 1
      app/classes/Router.php

1
app/classes/Router.php

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

Loading…
Cancel
Save