[BUGFIX] JSwindow-typolink URLs are encoded twice
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 30 Jul 2011 11:10:39 +0000 (13:10 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 30 Jul 2011 14:38:45 +0000 (16:38 +0200)
commit423fc9e1dabbfe3fd9f9c24dae94d06f139126e4
tree795d7a37a6860bc4052da9ac5e3e532d22519117
parenta408234cdf05ef4b69682161d8e2198db71318fd
[BUGFIX] JSwindow-typolink URLs are encoded twice

In #28189 a bug was introduced for JSwindow-typolink URLs.
Because t3lib_div::quoteJSvalue is called without second paramter,
the value passed to it will also be encoded with htmlspecialchars()
which is then done a second time when putting the link together.

Change the t3lib_div::quoteJSvalue call to not encode
the result with htmlspecailchars()

Resolves: #28536
Related: #28189

Releases: 4.3, 4.4, 4.5, 4.6

Change-Id: If6bcad4d2bf1e0a4b3f5a6f04e4718df8e4e7150
Reviewed-on: http://review.typo3.org/3901
Reviewed-by: Torben Hansen
Tested-by: Torben Hansen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tslib/class.tslib_content.php