Actions
Bug #53200
closedDouble htmlspecialchars in UserFileInlineLabelService
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-10-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
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()
.
Files
Actions