Issue #6154
Redirect 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
Associated revisions
Revision 68a9b12c
View on GitHub
Fixing broken S3 redirect
https://pulp.plan.io/issues/6154 closes #6154
(cherry picked from commit 3b917b4639651913bfb0df3a80869c2996867296)
History
#1
Updated by ipanova@redhat.com 11 months ago
- Triaged changed from No to Yes
- Sprint set to Sprint 66
#4
Updated by Anonymous 11 months ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|3b917b4639651913bfb0df3a80869c2996867296.
#5
Updated by Anonymous 11 months ago
Applied in changeset pulpcore|68a9b12c5271c1b485654943cda7ee9914b1d772.
Please register to edit this issue
Fixing broken S3 redirect
https://pulp.plan.io/issues/6154 closes #6154