-
Bug
-
Resolution: Done
-
Major
-
cloud-2022-07-12
-
None
-
False
-
-
False
Description
When downloading a tarball manually from console.redhat.com it downloads a file with an incompatible name for uploading directly to PAH.
It seems to be renaming the download with the content of the ID value from https://automation-hub-prd.s3.us-east-2.amazonaws.com/artificat/18/<ID>
Snippets from HAR:
"title": "https://console.redhat.com/api/automation-hub/v3/plugin/ansible/content/published/collections/artifacts/splunk-es-2.1.0.tar.gz" <snipped> { "name": "location", "value": "https://automation-hub-prd.s3.us-east-2.amazonaws.com/artifact/18/7e48325423a594ceed2f58fc373fa690fdffe3b0c6631c2dd69345fe18f1b2?response-content-disposition=attachment%253Bfilename%3Dsplunk-es-2.1.0.tar.gz&response-content-type=application%2Fx-tar&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA5DPYWLYOPMNU3JFQ%2F20220908%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20220908T195430Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b251cb0901b017347585377cd5eb114eba28be4990669d8a5e9dd0b5469ae5f6" },
Steps to Reproduce
- Go to any collection. Example: https://console.redhat.com/ansible/automation-hub/repo/published/splunk/es
- Click "Download tarball"
Actual Behavior
It downloads a file with a name of `7e48325423a594ceed2f58fc373fa690fdffe3b0c6631c2dd69345fe18f1b2` or `7e48325423a594ceed2f58fc373fa690fdffe3b0c6631c2dd69345fe18f1b2.tar` depending on browser.
Expected Behavior
The file should be named with a format of `splunk-es-2.1.0.tar.gz`