Skip to content

Correct trailing slash redirection behavior? #29287

Closed
@nicolas-grekas

Description

@nicolas-grekas

We spotted the following:

Given two routes (in order):

  • "a": /foo/
  • "b": /{name}

for URL /foo, a redirectable router matcher:

  • matches "a" before 4.1 when being dumped (with internal redirection of course)
  • matches "b" before 4.1 when being not dumped
  • matches "b" since 4.1 when being dumped or not

What is the correct behavior?

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