Project

General

Profile

Actions

Bug #102317

closed

Special characters are encoded in scheduled tasks as HTML entities

Added by Imko Schumacher 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2023-11-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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"

Steps to reproduce

  1. Open scheduler module in TYPO3 backend
  2. Create new task
  3. Select "Execute console commands (scheduler)"
  4. Set "Schedulable Command" to "impexp:export"
  5. Save
  6. Look at "Option: levels"

Relevant source code

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.


Files

scheduler-specialcharacters.png (12.1 KB) scheduler-specialcharacters.png Imko Schumacher, 2023-11-05 16:55

Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Task #96574: Refactor ext:scheduler controller and viewClosed2022-01-19

Actions
Related to TYPO3 Core - Bug #93317: HTML Code in BE lables - EXT:schedulerClosed2021-01-19

Actions
Related to TYPO3 Core - Bug #92983: Header formatting in scheduler for Console CommandsNeeds Feedback2020-12-04

Actions
Actions #1

Updated by Imko Schumacher 6 months ago

  • Related to Task #96574: Refactor ext:scheduler controller and view added
Actions #2

Updated by Gerrit Code Review 6 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81685

Actions #3

Updated by Benni Mack 6 months ago

  • Related to Bug #93317: HTML Code in BE lables - EXT:scheduler added
Actions #4

Updated by Gerrit Code Review 6 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81697

Actions #5

Updated by Imko Schumacher 6 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack 4 months ago

  • Related to Bug #92983: Header formatting in scheduler for Console Commands added
Actions

Also available in: Atom PDF