#28536JSwindow-typolink URLs are encoded twice with htmlspecialchars()
Description
- introduces a bug in JSwindow-typolink URLs, which are being encoded twice with htmlspecialchars().
In “class.tslib_content.php” line 5905 t3lib_div::quoteJSvalue is called, which does htmlspecialchars() on the final URL. Then, in line 5908 again htmlspecialchars() is called for the same URLs, which already has been encoded in line 5905.
This results in non working URLs with double ampersands like this:
www.domain.tld/index.php?id=1&parameter1&parameter2
Removing the htmlspecialchars() in line 5905 resolves the problem.