Bug #27777
closedconfig.uniqueLinkVars does not filter duplicate id= completely
0%
Description
config.uniqueLinkVars is enabled by default, but if the query parameter 'id' appears twice or more it will not be filtered completely.
The first id=xxx will be added to the 'url' part of the link and other occurrences of this will be in the linkVars part. Only the linkVars part will be filtered for unique linkVars.
I found it in a TS languagemenu:
10 = HMENU 10 { 1 = GMENU 1 { .... } special = language special.value = 0,2 addQueryString = 1 }
No realurl, no simulatestatic.
This results in links like:
http://domain.ext/index.php?id=383&L=0&id=383
Updated by Dmitry Dulepov over 13 years ago
Why do you need 'id' in linkVars? :)
Updated by Jigal van Hemert over 13 years ago
addQueryString seems to add them in the language menu.
If I am on the page http://domain.ext/index.php?id=383 the link to the default language in the language menu is http://domain.ext/index.php?id=383&L=0&id=383 .
The language menu adds the &L=<language_id> and addQueryString adds the existing parameters (including id=...).
Either addQueryString has to remove id=... or uniqueLinkVars has to filter it. I would go for uniqueLinkVars because its description says that it will filter duplicate parameters in the url.
Updated by Alexander Opitz about 10 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.4)?
Updated by Alexander Opitz almost 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.