Bug #25300
closedTypolink - AddQueryString - Adds any Params added to URL
0%
Description
If you use following example in your TS (typolink with addquerystring option) to generate a link, any parameter will be added to link. Sure this it what it should do, but...
An example:
toplink = TEXT
toplink {
data = LLL:{$FILE.locallang}:topLink
typolink {
parameter.data = TSFE:id
additionalParams.dataWrap = &{getIndpEnv : QUERY_STRING}
additionalParams.if.isTrue.data = getIndpEnv : QUERY_STRING
title.data = LLL:{$FILE.locallang}:topLink
section = anchor
}
wrap = <p class="gotoTop">|</p>
}
Type in your Browser:
http://www.yoursite.com/?testparam=blabla
The gotoTop-Link will look like this:
http://www.yoursite.com/?testparam=blabla#anchor
That generated link will be stored if cache will be rewritten (and indexed by search engines) which is very ugly.
There should be an option which allows whitelisting. And not just excluding params.
(issue imported from #M17915)
Updated by Alexander Opitz over 10 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0) - 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.3)?
Updated by Alexander Opitz about 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.