Actions
Bug #14646
closedNot HTML compliant Links by getTypoLink function
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-04-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The getTypoLink (tslib_class.tslib_content.php) function produces non standard conform links.
This concerns the ampersand '&' used to concatenate GET Params.
E.g.:
http://www.mysite.con/index.php?id=5¶m=value
should be
http://www.mysite.con/index.php?id=5&param=value
Entities like '&' have to be resolved.
For a fix see code listing.
function getTypoLink($label,$params,$urlParameters=array(),$target='') {
...
while(list($k,$v)=each($urlParameters)) {
$conf['additionalParams'].='&'.$k.'='.@rawurlencode($v);
}
...
}
Sould be
function getTypoLink($label,$params,$urlParameters=array(),$target='') {
...
while(list($k,$v)=each($urlParameters)) {
$conf['additionalParams'].='&'.$k.'='.@rawurlencode($v);
}
...
}
(issue imported from #M946)
Updated by Marc Wöhlken over 19 years ago
Please delete this entry as it belongs to a different category but I can't delete or edit this bug report
Sorry
maxhb
Actions