Actions
Bug #15171
closedTYPOLINK deletes Parameters in tslib/class.tslib_content.php
Start date:
2005-11-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Althought activating typolink.addQueryString=1
or additionalParams, no Parameters are added to the link.
I think this is because of the lines (5006-????)
$addQueryParams = $conf['addQueryString'] ? t3lib_div::getIndpEnv('QUERY_STRING') : '';- Here the addQueryParams Variable is set; but QUERY_STRING does NOT return an "&"! (Example: id=73&sword_list[]=kajsdh&sword_list[]=ouoiu)
$addQueryParams .= trim($this->stdWrap($conf['additionalParams'],$conf['additionalParams.']));
- Here the addQueryParams Variable is deleted if addQueryString=1, because QUERY_STRING has not returned any "&"!
if (substr($addQueryParams,0,1)!='&') {
$addQueryParams = '';
(issue imported from #M1770)
Updated by Simon Ihmig about 19 years ago
Confirmed.
A fix seems to be simple:
$addQueryParams = $conf['addQueryString'] ? '&'.t3lib_div::getIndpEnv('QUERY_STRING') : '';
Updated by Martin Kutschker almost 19 years ago
Fixed in 3.8.1 by Michael Stucki.
Actions