Actions
Issue #6154
closedRedirect to S3 in pulp-content-app is broken in 3.1.0
Start date:
Due date:
Estimated time:
Severity:
4. Urgent
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 66
Quarter:
Description
pulp-content-app returns redirect to invalid S3 URL:
https://bucket.s3.amazonaws.com/artifact/xx/xxx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=********&X-Amz-Date=20200213T141229Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=********?response-content-disposition=attachment;+filename=pulp-artifact-filename
response-content-disposition
is attached to the URL that already has query string which gives as a result invalid URL.
Please refer to for the correct example of setting Response-Content-Disposition parameter with django-storages:
https://github.com/ansible/galaxy/blob/devel/galaxy/api/download/views.py#L64
Actions
Fixing broken S3 redirect
https://pulp.plan.io/issues/6154 closes #6154