8000 Option to disable the automatic 301 redirection without trailing slash · Issue #29011 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Option to disable the automatic 301 redirection without trailing slash #29011
Closed
@arneee

Description

@arneee

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0