|
|
@@ -154,7 +154,9 @@ class Request
|
|
|
public function getRequestUri()
|
|
|
{
|
|
|
return array_key_exists('REQUEST_URI', $_SERVER) ?
|
|
|
- htmlspecialchars($_SERVER['REQUEST_URI']) : '/';
|
|
|
+ htmlspecialchars(
|
|
|
+ parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
|
|
|
+ ) : '/';
|
|
|
}
|
|
|
|
|
|
/**
|