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
Description
I have 2 configured routes:
/foo
/foo/
The aim is to return 200 code in both cases.
Also from documentation:
If your application defines different routes for each path (/foo and /foo/) this automatic redirection doesn't take place and the right route is always matched.
But since update to 4.1.8 or 4.2.0 one of them returns 301 redirect to another one.
Trailing slash is non significant. That was a bug actually that is now fixed. Please upgrade to latest version to get the correct and historical behavior.
Symfony version(s) affected: 4.1.8, 4.2.0
Description
I have 2 configured routes:
/foo
/foo/
The aim is to return 200 code in both cases.
Also from documentation:
But since update to 4.1.8 or 4.2.0 one of them returns 301 redirect to another one.
How to reproduce
My Yaml config:
The text was updated successfully, but these errors were encountered: