#16583& instead of & in urls with tslib_pibase->pi_linkTP_keepPIvars_url and tslib_cObj->getTypoLink_URL
Description
function pi_linkTP_keepPIvars calls typolink in the end and there the url of the link is encoded by htmlspecialchars (line 5321).
pi_linkTP_keepPIvars_url calls pi_linkTP_keepPIvars to generate the link
and $this->cObj->lastTypoLinkUrl to get the url only. But this url isn’t encoded by htmlspecialchars.
getTypoLink_URL also uses lastTypoLinkUrl to get the url only.
Are there any side effects when line
return $this->cObj->lastTypoLinkUrl; / return $this->lastTypoLinkUrl;
would be changed in
return htmlspecialchars($this->cObj->lastTypoLinkUrl); / return htmlspecialchars($this->lastTypoLinkUrl);
(issue imported from #M4260)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.