aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_file
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_file')
-rw-r--r--lib/active_file/site/s3_site.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_file/site/s3_site.rb b/lib/active_file/site/s3_site.rb
index cfd2ddcc9a..25a876c697 100644
--- a/lib/active_file/site/s3_site.rb
+++ b/lib/active_file/site/s3_site.rb
@@ -31,7 +31,7 @@ class ActiveFile::Site::S3Site < ActiveFile::Site
def url(key, expires_in:, disposition:, filename:)
object_for(key).presigned_url :get, expires_in: expires_in,
- response_content_disposition: "#{disposition}; filename=#{filename}"
+ response_content_disposition: "#{disposition}; filename=\"#{filename}\""
end
def byte_size(key)