Skip to content

Commit 98b7fb5

Browse files
author
René Hrdina
committed
reverse htmlentities call used when storing the filename to restore original filename
1 parent b598ddc commit 98b7fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundle/Controller/DownloadController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function downloadCollectedEnhancedEzBinaryFileAction($infocollectionAttri
8282
$filePath = $filePathNodes->item(0)->textContent;
8383
$fileName = basename($filePath);
8484

85-
$originalFilename = $originalFilenameNodes->length ? $originalFilenameNodes->item(0)->textContent : $fileName;
85+
$originalFilename = html_entity_decode($originalFilenameNodes->length ? $originalFilenameNodes->item(0)->textContent : $fileName);
8686

8787
$binaryFile = $this->ioService->loadBinaryFile('collected' . \DIRECTORY_SEPARATOR . $fileName);
8888

0 commit comments

Comments
 (0)