Issue Bug Closed

#88514Inline image record title is doubly escaped

filigivuji filigivuji 06/07/19, 02:23 updated 04/01/20, 21:14

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.

Reviews 2