Closed
Description
Description
The automatic 301 redirection from /foo/ to /foo was introduced in Symfony 4.1. In previous Symfony versions this results in a 404 response.
This is a "magic" behaviour which can be unwanted in certain cases. For example it can break AJAX calls via HTTPS.
There should be an option to disable this behaviour and enforcing strict URL matching on the route, without any magic redirects behind.