Skip to content

Handle "all slashes" routes#17596

Merged
iOvergaard merged 2 commits intov13/devfrom
v13/fix/16585-rewrite-all-slashes
Nov 22, 2024
Merged

Handle "all slashes" routes#17596
iOvergaard merged 2 commits intov13/devfrom
v13/fix/16585-rewrite-all-slashes

Conversation

@kjac
Copy link
Contributor

@kjac kjac commented Nov 20, 2024

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes #16585

Description

The content routing has a strange discrepancy in routing:

  • When requesting http://some.where/path/////, the routing resolves http://some.where/path
  • When requesting http://some.where/////, the routing explodes 💥

See #16585 for details.

Testing this PR

Content routing should work both at root and page level, despite being requested with multiple trailing slashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants