diff --git a/www/phplib/globals.php b/www/phplib/globals.php index 4f66a14..4f21fb1 100644 --- a/www/phplib/globals.php +++ b/www/phplib/globals.php @@ -34,7 +34,7 @@ $REMOTE_ADDR = $_SERVER["REMOTE_ADDR"]; // Handle PHP_SELF differently - we need to quote it properly... if (array_key_exists("PHP_SELF", $_SERVER)) - $PHP_SELF = htmlspecialchars(urlencode($_SERVER["PHP_SELF"]), ENT_QUOTES); + $PHP_SELF = htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES); else $PHP_SELF = "";