Fix Content-Disposition not working for Azure in API download
What does this MR do and why?
In GitLab 17.1 !155013 (merged)
introduced a fix that attempted to send the
response-content-disposition query parameter to object storage
providers. gitlab-fog-azure-rm expects this query parameter to be a
string instead of a symbol, however.
To fix this issue and be consistent with the CarrierWave downloads via
Rails controllers, set response-content-disposition and
response-content-type to strings.
Closes #472322 (closed).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Configure Azure with consolidated object storage.
- Be sure to set
proxy_downloadtofalse. - See !155013 (merged).
Edited by Marco Zille