[BUGFIX] Ensure links with ampersands are HSC-decoded 81/53281/2
authorBenni Mack <benni@typo3.org>
Tue, 20 Jun 2017 08:08:51 +0000 (10:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 20 Jun 2017 11:57:14 +0000 (13:57 +0200)
commitf470b880f3861dde12777052cd8efd1573072ace
tree2ff48b95eb5780c439c26d5599d90af6623ccaa3
parentb943b0218c8eab6aa503d50f108fbd0257efdba6
[BUGFIX] Ensure links with ampersands are HSC-decoded

Since the new link structure is in place with TYPO3 v8
all links are properly htmlspecialchar'ed in the database.

This means, that links with an ampersand are now encoded
and need to be decoded on output so ampersands are rendered
as "&" and not as "&amp;" in the frontend.

Resolves: #80985
Resolves: #81625
Releases: master, 8.7
Change-Id: I213f84453a721b97c3238662febe10d0fb5a9bf7
Reviewed-on: https://review.typo3.org/53281
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Typolink/ExternalUrlLinkBuilder.php