41b51c0656
Users downloading non-ASCII attachments would see garbled characters. When used with object storage, AWS S3 would return an InvalidArgument error: Header value cannot be represented using ISO-8859-1. Per RFC 5987 and RFC 6266, Content-Disposition should be encoded properly. This commit takes the Rails 6 implementation of ActiveSuppport::Http::ContentDisposition (https://github.com/rails/rails/pull/33829) and ports it here. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/47673 |
||
---|---|---|
.. | ||
issuable_notes_filter_shared_examples.rb | ||
repository_lfs_file_load_examples.rb | ||
set_sort_order_from_user_preference_shared_examples.rb | ||
todos_shared_examples.rb | ||
uploads_actions_shared_examples.rb | ||
variables_shared_examples.rb |