Actions
Bug #80288
closednewContentWizard: Label is escaped twice
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-03-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The label for the newContentWizard is escaped twice. Once in the controller:
https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-6-1/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php#L262
And once in the template:
https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-6-1/typo3/sysext/backend/Resources/Private/Templates/DocumentTemplate/Tabs.html#L10
The following PageTS leads to a double-escaped ampersand:
mod.wizards.newContentElement.wizardItems.customer.header = Customer & Partner mod.wizards.newContentElement.wizardItems.customer.show = * mod.wizards.newContentElement.wizardItems.customer.elements.example < mod.wizards.newContentElement.wizardItems.common.elements.textmedia
Files
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52147
Updated by Georg Ringer over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b1e1ca43e81a89488805d24196e714baac8a6558.
Actions