Project

General

Profile

Actions

Bug #53200

closed

Double htmlspecialchars in UserFileInlineLabelService

Added by Alexander Stehlik over 10 years ago. Updated over 5 years ago.

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

screenshot_htmlspecialchars_file.png (43.2 KB) screenshot_htmlspecialchars_file.png Alexander Stehlik, 2013-10-29 16:46
Actions

Also available in: Atom PDF