Bug #23474
closedincludeCSS path-string pass htmlspecialchars twice
0%
Description
There is an issue by including an external CSS file with parameters. I use it in a ViewHelper class in this way:
$GLOBALS['TSFE']->pSetup[$position][$key] = $path;
$GLOBALS['TSFE']->pSetup[$position][$key . '.'] = array(
'media' => $media,
[…]
);
$path looks like:
http://localhost/?type=123456788&cHash=a7a8da9a0538718db5b98d003bfedd6e […]
The output is:
http://localhost/?type=123456788&cHash=a7a8da9a0538718db5b98d003bfedd6e […]
You'll see the path-string pass htmlspecialchars twice:
1. class.tslib_pagegen.php line 546
2. class.t3lib_pagerenderer.php line 1105
solution replace in class.tslib_pagegen.php line 546
htmlspecialchars($ss),
to
$ss,
lg ad
(issue imported from #M15587)
Files