Issue Bug Closed

#53200Double htmlspecialchars in UserFileInlineLabelService

Alexander Stehlik 10/29/13, 16:46 updated 10/02/18, 12:08

Description

Currently it can happen that htmlspecialchars() is applied twice to a file title. This becomes a real problem when the title of the filename is too long and it gets cropped by BackendUtility::getRecordTitlePrep().

Please find a screenshot attached to see the result.

Solution: only use htmlspecialchars() if value does not come from BackendUtility::getRecordTitlePrep() or BackendUtility::getRecordTitle().

Reviews 1