You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying multiple slashes in URL "after domain" and "before the locale" should redirect, but instead, it ignores the slashes and loads the route.
#546
Open
bs-thomas opened this issue
Apr 7, 2018
· 2 comments
Actual Behavior
(a) http://www.somedomain.com/en/some/path
This loads the route "some/path/" (handled by Laravel)
(b) http://www.somedomain.com///en/some/path
This ALSO loads the route "some/path/" (handled by Laravel)
Expected Behavior
(a) http://www.somedomain.com/en/some/path
This should load the route "/some/path/" (handled by Laravel)
(b) http://www.somedomain.com///en/some/path
This should get redirected to http://www.somedomain.com/en//en/some/path, (handled by laravel-localization)
and then load the route "//en/some/path" (handled by Laravel)
I am working on a fix, will send a Pull Request shortly.
The text was updated successfully, but these errors were encountered: