[BUGFIX] Prevent double encoding in field controls
The link attributes of a field control are added to the link tag using implodeAttributes() with the second parameter `xhtmlSafe` set to `true`. To prevent double encoding, previously applied "hsc" calls are removed. Resolves: #102541 Releases: main, 12.4 Change-Id: If7b4f036b9cea71162a5265458e53dc05b91b7b7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82010 Reviewed-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Form/FieldControl/AddRecord.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/FieldControl/AddRecord.php
- typo3/sysext/backend/Classes/Form/FieldControl/EditPopup.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/FieldControl/EditPopup.php
- typo3/sysext/backend/Classes/Form/FieldControl/ElementBrowser.php 3 additions, 3 deletions...sext/backend/Classes/Form/FieldControl/ElementBrowser.php
- typo3/sysext/backend/Classes/Form/FieldControl/InsertClipboard.php 1 addition, 1 deletion...ext/backend/Classes/Form/FieldControl/InsertClipboard.php
- typo3/sysext/backend/Classes/Form/FieldControl/LinkPopup.php 2 additions, 2 deletionstypo3/sysext/backend/Classes/Form/FieldControl/LinkPopup.php
- typo3/sysext/backend/Classes/Form/FieldControl/ListModule.php 1 addition, 1 deletion...3/sysext/backend/Classes/Form/FieldControl/ListModule.php
- typo3/sysext/backend/Classes/Form/FieldControl/ResetSelection.php 2 additions, 2 deletions...sext/backend/Classes/Form/FieldControl/ResetSelection.php
- typo3/sysext/backend/Tests/Unit/Form/FieldControl/ElementBrowserTest.php 2 additions, 2 deletions...ckend/Tests/Unit/Form/FieldControl/ElementBrowserTest.php
Please register or sign in to comment