Task #86054
closed
- Status changed from New to Under Review
- Related to Task #86048: Create URLs with typolink for pages with sites added
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
I stumbled about a really hard to spot but serious issue regarding this change. When you use config.linkVars = L
, then it is possible to globally override the target language of all links on a page by adding the L
Parameter to the URL.
Example scenario: (TYPO3 9.5 - master)
- Website has 2 languages (0 = DE and 1 = EN)
- TYPO3 page cache is empty
- Website is initially opened as https://website.tld/?L=1
Result:
- The website is shown in german language (expected) but all links created by
PageLinkBuilder
will link to the english version of the target (not expected).
Removing the L
parameter from config.linkVars
resolved the problem.
Should the L
parameter from GET vars really be taken into account for language settings in TYPO3 9.5+?
- Related to Bug #91870: TYPO3 v. 10.4 Caching and Speaking URLs added
- Related to Bug #93343: Accessing non-translated page with strict language breaks all menus added
Also available in: Atom
PDF