From dff8f103cde516756d65ca59cce7550c2d92d901 Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Sun, 16 Oct 2022 20:56:20 -0700 Subject: [PATCH] Replace usage of filter_var with htmlspecialchars (#356) --- src/bb-library/Box/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bb-library/Box/App.php b/src/bb-library/Box/App.php index b540850e4..a087b225d 100644 --- a/src/bb-library/Box/App.php +++ b/src/bb-library/Box/App.php @@ -62,7 +62,7 @@ class Box_App [$mod] = explode('/', $requestUri); } } - $mod = filter_var($mod, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH); + $mod = htmlspecialchars($mod); $this->mod = $mod; $this->uri = $requestUri;