#102317Special characters are encoded in scheduled tasks as HTML entities
Description
Special characters (e.g. &, “) in the title and description of arguments/options (console commands) are displayed as HTML entities and not as characters.
Expected result: Option: levels. The depth of the exported page tree. "-2": "Records on this page", "-1"
Actual result: Option: levels. The depth of the exported page tree. "-2": "Records on this page", "-1"
scheduler-specialcharacters.png
Steps to reproduce
- Open scheduler module in TYPO3 backend
- Create new task
- Select “Execute console commands (scheduler)”
- Set “Schedulable Command” to “impexp:export”
- Save
- Look at “Option: levels”
Relevant source code
- scheduler/Resources/Private/Partials/AddEditAdditionalFields.html
- scheduler/Classes/Task/ExecuteSchedulableCommandAdditionalFieldProvider.php
Proposed fix
Remove htmlspecialchars in ExecuteSchedulableCommandAdditionalFieldProvider.
Since https://review.typo3.org/c/Packages/TYPO3.CMS/+/73051 the label is not handled by CshViewHelper (outputted raw html) anymore. Instead the value is directly used in the fluid template.