Issue Bug Closed

#15171TYPOLINK deletes Parameters in tslib/class.tslib_content.php

Christian Holzmann 11/02/05, 20:49 updated 08/12/06, 14:22

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.