Bug #100654
closedWrong language in Frontend if circular redirect is detected
100%
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.
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78720
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78721
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78722
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78720
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78722
Updated by Markus Klein over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f5665e62c84a60604b4ecc269632466bf2d27ac1.