[BUGFIX] Consider spamProtectEmailAddresses markup in <f:link.email>
Email processing in <f:link.email> view helper has been changed to be based on typolink recently. In order to allow (internal) markup in spamProtectEmailAddresses_atSubst or ~_lastDotSubst it has to be ensured that only the input parameter (the email address) is considered as user input and thus encoded for HTML. Resolves: #96723 Releases: main, 11.5 Change-Id: I199ab6471d44508b0a3a4338ea1650d7eb7345df Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73363 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php 2 additions, 2 deletions...sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php 15 additions, 7 deletions...Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php
Please register or sign in to comment