Fix for trailing slash redirect in multlang

This commit is contained in:
Andy Miller
2019-02-01 11:26:16 -07:00
parent e4b1d2ed9e
commit 45346b72f2
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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();