Project

General

Profile

Actions

Bug #88514

closed

Inline image record title is doubly escaped

Added by filigivuji filigivuji over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
Due date:
% Done:

100%

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

Description

Running TYPO3 9.5.7.

Steps to reproduce:
  1. On a TYPO3 page, add a new "Images Only" content element.
  2. In the "Images" tab, add a new image and give it the title "<".
  3. Save.

Expected behavior:
The inline record in the "Images" tab shows "<" after "Title" in the inline record's header.

Actual behavior:
After "Title", "&lt;" is displayed. Screenshot attached.

InlineRecordContainer::renderForeignRecordHeader is passed HTML in $data['recordTitle'], which it then escapes again.

TYPO3 6.2 is affected as well, so probably all versions in between are too.


Files

escaping.png (11.1 KB) escaping.png filigivuji filigivuji, 2019-06-07 02:18
Actions #1

Updated by Riccardo De Contardi about 5 years ago

Still present on 10.2.0-dev Afaics

Actions #2

Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/63814

Actions #3

Updated by Gerrit Code Review over 4 years ago

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

Actions #4

Updated by Susanne Moog over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF