diff --git a/Classes/Hooks/FileDumpHook.php b/Classes/Hooks/FileDumpHook.php index d52d027..6d08835 100644 --- a/Classes/Hooks/FileDumpHook.php +++ b/Classes/Hooks/FileDumpHook.php @@ -210,7 +210,7 @@ protected function dumpFileContents($file, $asDownload, $resumableDownload) } $contentDisposition = $asDownload ? 'attachment' : 'inline'; - header('Content-Disposition: ' . $contentDisposition . '; filename="' . $downloadName . '"'); + header('Content-Disposition: ' . $contentDisposition . '; filename=*=UTF-8\'\'' . rawurlencode($downloadName)); header('Content-Type: ' . $file->getMimeType()); header('Expires: -1'); header('Cache-Control: public, must-revalidate, post-check=0, pre-check=0');