Project

General

Profile

Actions

Bug #100654

closed

Wrong language in Frontend if circular redirect is detected

Added by Markus Klein over 1 year ago. Updated 5 months ago.

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 #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Markus Klein over 1 year ago

  • Description updated (diff)
Actions #5

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

Actions #6

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

Actions #7

Updated by Markus Klein over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF