Issue Bug Closed

#15693typoLink is htmlspecialchared, so the links are wrong

Franz Holzinger 02/21/06, 11:50 updated 08/12/06, 14:17

Description

With the Beta3 the links for the shop system are generated with wrong parameters like
where it should have been

This error comes from class.tslib_content.php
function typoLink($linktxt, $conf).

$finalTagParts[‘url’]=$this->lastTypoLinkUrl;
However $this->lastTypoLinkUrl contains parameters separated with ‘&’.

$res = ‘‘;

Here the wrong htmlspecialchars it applied to the url with parameters.

Debug Infos:
—————————————
$conf
String (2) parameter 51
String (36) additionalParams &backPID=13&tt_products=2091

[debug] in
String (2) $link_param 51

Array (4)
$finalTagParts
String (1) aTagParams
String (51) url index.php?id=51&backPID=13&tt_products=2091
String (0) targetParams
String (4) TYPE page

$res

—————————————————-

(issue imported from #M2657)

Reviews 0

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