Project

General

Profile

Actions

Bug #16583

closed

& instead of & in urls with tslib_pibase->pi_linkTP_keepPIvars_url and tslib_cObj->getTypoLink_URL

Added by Marc Bastian Heinrichs over 17 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2006-09-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF