Actions
Task #86054
closedSlug Handling does not add config.linkVars
Status:
Closed
Priority:
Should have
Assignee:
Category:
Site Handling, Site Sets & Routing
Target version:
Start date:
2018-08-31
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58097
Updated by Christian Kuhn about 6 years ago
- Related to Task #86048: Create URLs with typolink for pages with sites added
Updated by Benni Mack about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a11734f92d9950f295fb3f5d507db8c288f5fc95.
Updated by Torben Hansen almost 4 years ago
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+?
Updated by Torben Hansen almost 4 years ago
- Related to Bug #91870: TYPO3 v. 10.4 Caching and Speaking URLs added
Updated by Torben Hansen over 3 years ago
- Related to Bug #93343: Accessing non-translated page with strict language breaks all menus added
Actions