Skip to content

[6.x] Fix infinite recursion on self-referencing redirects - #15746

Open
marcorieser wants to merge 3 commits into
statamic:6.xfrom
marcorieser:fix/self-referencing-redirects
Open

marcorieser wants to merge 3 commits into
statamic:6.xfrom
marcorieser:fix/self-referencing-redirects

Conversation

@marcorieser

Copy link
Copy Markdown
Contributor
  • Redirect loops (an entry redirecting to itself, or A → B → A) now resolve to no redirect and the frontend returns a 404.
  • The redirect link field rejects an entry linking to itself in the CP.

Fixes #15745

This branch has not been deployed

No deployments
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.

Redirect loops exhaust memory and break the page tree and entry edit page

1 participant