[BUGFIX] URL-encoded title in link wizard 53/27853/4
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 11 Sep 2013 10:49:39 +0000 (12:49 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Fri, 28 Feb 2014 00:06:11 +0000 (01:06 +0100)
commit342686b4d30e7f2a7e8f39f96daba1dd76ed2b38
tree84b8248ee6ceb36d6dc621b6eb93a71208e076a8
parent5ce3128c55812cc9d4295522a3d43c86d9d23e8b
[BUGFIX] URL-encoded title in link wizard

The security fix introduced a bug that the title is encoded
every time the link wizard is opened, leading to multiple
encoded strings.

Solution is to not encode it centrally but encode it just
before using it in the JavaScript context.

Fixes: #41413
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Change-Id: I6b08db290d5457761edc4506105672d79840764d
Reviewed-on: https://review.typo3.org/27853
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php