Project

General

Profile

Actions

Bug #27777

closed

config.uniqueLinkVars does not filter duplicate id= completely

Added by Jigal van Hemert almost 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-06-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

Updated by Dmitry Dulepov almost 13 years ago

Why do you need 'id' in linkVars? :)

Actions #2

Updated by Jigal van Hemert almost 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.

Actions #3

Updated by Alexander Opitz over 9 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)?

Actions #4

Updated by Alexander Opitz over 9 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.

Actions

Also available in: Atom PDF