[BUGFIX] Add missing htmlspecialchars for thumbnail URL 70/27670/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 17 Feb 2014 21:27:16 +0000 (22:27 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 17 Feb 2014 21:29:25 +0000 (22:29 +0100)
Resolves: #56057
Releases: 6.2, 6.1
Change-Id: I9c1ec60e7518867d27e99681d3d18957a27c4983
Reviewed-on: https://review.typo3.org/27670
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Clipboard/Clipboard.php

index 93ff445..da82427 100644 (file)
@@ -369,7 +369,7 @@ class Clipboard {
                                                                $processedFile = $fileObject->process(\TYPO3\CMS\Core\Resource\ProcessedFile::CONTEXT_IMAGEPREVIEW, array());
                                                                if ($processedFile) {
                                                                        $thumbUrl = $processedFile->getPublicUrl(TRUE);
-                                                                       $thumb .= '<br /><img src="' . $thumbUrl . '" title="' . htmlspecialchars($fileObject->getName()) . '" alt="" />';
+                                                                       $thumb .= '<br /><img src="' . htmlspecialchars($thumbUrl) . '" title="' . htmlspecialchars($fileObject->getName()) . '" alt="" />';
                                                                }
                                                        }
                                                        $lines[] = '