[BUGFIX] No duplicate html encoding in file titles 52/25052/2
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Tue, 29 Oct 2013 15:50:49 +0000 (16:50 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 9 Nov 2013 23:54:37 +0000 (00:54 +0100)
commit652d9c2dab94e922f0b9f0ff8ff43e1f4d2d9082
tree61c838aa01882464e80e939d63cd1d4a160e5884
parente59fe358f40e68a3d3f5389d5b6ba8ec1b0642e7
[BUGFIX] No duplicate html encoding in file titles

This patch makes sure that UserFileInlineLabelService only parses the
title of a file through htmlspecialchars if this was not already done by
a BackendUtility method like getRecordTitle() or getRecordTitlePrep().

Titles that are cropped by getRecordTitlePrep() will be displayed
correctly in the Backend.

Resolves: #53200
Releases: 6.2
Change-Id: I960e599372aeecfb2e5e6469ac4d644c578cfabc
Reviewed-on: https://review.typo3.org/25052
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Dmitry Dulepov
Reviewed-by: Tomita Militaru
Tested-by: Tomita Militaru
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php