mirror of
https://github.com/getgrav/grav.git
synced 2026-03-02 10:31:41 +01:00
Fix for trailing slash redirect in multlang
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* Removed apc and xcache support, made apc alias of apcu
|
||||
1. [](#bugfix)
|
||||
* Fixed non-namespaced exceptions in scheduler
|
||||
* Fixed trailing slash redirect in multlang environment
|
||||
|
||||
# v1.6.0-rc.1
|
||||
## 01/30/2019
|
||||
|
||||
@@ -58,7 +58,7 @@ class InitializeProcessor extends ProcessorBase
|
||||
&& Utils::endsWith($path, '/')) {
|
||||
|
||||
$redirect = (string) $uri::getCurrentRoute()->toString();
|
||||
$this->container->redirectLangSafe($redirect);
|
||||
$this->container->redirect($redirect);
|
||||
}
|
||||
|
||||
$this->container->setLocale();
|
||||
|
||||
Reference in New Issue
Block a user