Fixed bug where /0 would return the homepage.

Fixes #5390.
This commit is contained in:
Luke Towers 2020-12-08 12:00:58 -06:00
parent 3a8d504384
commit 2af7bd97a3

View File

@ -145,7 +145,7 @@ class Controller
$url = Request::path();
}
if (empty($url)) {
if (trim($url) === '') {
$url = '/';
}