diff --git a/web/redirect.php b/web/redirect.php index ddcd2c9..2a27cb2 100644 --- a/web/redirect.php +++ b/web/redirect.php @@ -15,7 +15,7 @@ function cachePath($path) { return $path; } -$url = $_SERVER["SCRIPT_URL"]; +$url = str_replace("\b", "", str_replace("\r", "", str_replace("\n", "", $_SERVER["SCRIPT_URL"]))); if ($url[strlen($url) - 1] == '/') $url = substr($url, 0, strlen($url) - 1);