[BUGFIX] URL-encoded title in link wizard 40/23740/10
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 11 Sep 2013 10:49:39 +0000 (12:49 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 25 Feb 2014 19:50:31 +0000 (20:50 +0100)
commitb44e8af67e681febef7798e66c5ff8e2528bef54
tree5479a93bd0f3d0a656ebe50e0a83b8b90674986f
parent32f65b0936752d94ba674659f0417edfccc2c8b6
[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/23740
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php