Avoid throwing RedirectLoopException, just return NULL and log a warning

Created on 30 April 2024, about 2 months ago

Problem/Motivation

We have a site that is creating redirect loops. We are unclear as to why this is happening.
We noticed this pattern: redirect loops are created from an internal path without a language, but there is a more recent redirect that has "English". We have pairs of redirects created this way. See picture:
- https://pasteboard.co/q1UogPhRDqZ9.png

This will create a redirect loop and return a 503. Instead of that, why not log the warning and just skip the loop?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador BetoAveiga Daule, Guayas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024