mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
parent
2620e836d4
commit
08d74df6e3
|
|
@ -1268,7 +1268,7 @@ class Uri
|
|||
}
|
||||
|
||||
// Build path.
|
||||
$request_uri = $env['REQUEST_URI'] ?? '';
|
||||
$request_uri = $env['REQUEST_URI'] ?? '/';
|
||||
$this->path = rawurldecode(parse_url('http://example.com' . $request_uri, PHP_URL_PATH));
|
||||
|
||||
// Build query string.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user