Replace usage of filter_var with htmlspecialchars (#356)

This commit is contained in:
Belle Aerni authored and GitHub committed 2022-10-17 05:56:20 +02:00
1 parent 96f7d9a7f0
commit dff8f103cd
1 file changed
+1 -1
+1 -1
View File
@@ -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;