Skip to content

Conversation

@batopa
Copy link
Member

@batopa batopa commented Dec 20, 2019

The issue happens when I18nMiddleware is configured with 'match' => '/'

At the moment https://example.com redirects first to https://example.com/en/ then to https://example.com/en.

After the fix it will be redirect directly to https://example.com/en

Bonus track: update codesniffer 😱

@batopa batopa added the bug Something isn't working label Dec 20, 2019
@stefanorosanelli stefanorosanelli merged commit b8f7d2f into master Dec 20, 2019
@stefanorosanelli stefanorosanelli deleted the fix/avoid-double-redirect-on-root branch December 20, 2019 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants