diff --git a/changelog.md b/changelog.md index a05d6bc4..eef8f845 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,8 @@ +## Version 2.2.0.10 +#### Release date: 27. Jun 2022 +- Fixed issue with downloading certain file types when you are using Backblaze storage driver +- Fixed issue when Google Analytics doesn't record visitors + ## Version 2.2.0.9 #### Release date: 23. Jun 2022 - Added spinner when pdf is loading diff --git a/src/Domain/Files/Actions/DownloadFileAction.php b/src/Domain/Files/Actions/DownloadFileAction.php index 8526cd83..515356b5 100644 --- a/src/Domain/Files/Actions/DownloadFileAction.php +++ b/src/Domain/Files/Actions/DownloadFileAction.php @@ -33,7 +33,7 @@ class DownloadFileAction 'ResponseContentType' => Storage::mimeType($filePath), 'ResponseContentLength' => Storage::size($filePath), 'ResponseContentRange' => 'bytes 0-600/' . Storage::size($filePath), - 'ResponseContentDisposition' => "attachment; filename=$fileName", + 'ResponseContentDisposition' => 'attachment; filename="' . $fileName . '"', ]; // If s3 redirect to temporary download url