From 8e8d5714b48ea904fb7ff83b0e987b0f8376a90b Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 21 Jun 2021 16:53:27 +0200 Subject: [PATCH] Add todo --- app/classes/Router.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/classes/Router.php b/app/classes/Router.php index 408ae53..45a7799 100644 --- a/app/classes/Router.php +++ b/app/classes/Router.php @@ -325,6 +325,7 @@ class Router { switch ($code) { case 404: + // @Todo: find out why this was needed and remove if possible $service->escape = function (?string $string) { return htmlentities($string, ENT_QUOTES | ENT_HTML5, 'UTF-8'); };