Actions
Bug #100654
closedWrong language in Frontend if circular redirect is detected
Status:
Closed
Priority:
Must have
Assignee:
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2023-04-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The RedirectHandler bootstraps a TSFE to evaluate the targets of redirects.
In case a redirect is circular it logs this fact and continues normal FE processing.
Unfortunately the "temporary" TSFE for target evaluation is not cleaned up in this case, leading to several possible issues in Frontend, most prominently a wrong language.
This bug exists from v10 to v12.
Testing:- Create a circular redirect for any page for a non-default language.
- Access the redirected URL.
- Find the log message about the circular redirect in var/log.
- See the wrong language being rendered in FE.
Actions