mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Merge remote-tracking branch 'origin/1.6' into 1.6
This commit is contained in:
@@ -57,7 +57,7 @@ class InitializeProcessor extends ProcessorBase
|
||||
&& $config->get('system.pages.redirect_trailing_slash', false)
|
||||
&& Utils::endsWith($path, '/')) {
|
||||
|
||||
$redirect = (string) $uri->getCurrentRoute()->withRoot('');
|
||||
$redirect = (string) $uri->getCurrentRoute()->toString();
|
||||
$this->container->redirectLangSafe($redirect);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user