Can't download files from AWS S3
- Dominant language
- Python
- Stars
- 6.8k
- Forks
- 2.8k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 5
Description
**Environment**:
- CTFd Version/Commit: 2.4.2
- Operating System: Ubuntu 18.04 LTS
- Web Browser and Version:
**What happened?**
I can upload and delete files from S3, but I can't download it successfully. There seems to be some issues with the URL
**What did you expect to happen?**
To successfully download the files.
**How to reproduce your issue**
**Any associated stack traces or error logs**
This is the URL CTFd redirects me to.
```
https://\.s3-\.amazonaws.com/ **\/** f2645148b96d9aa93a6aa2d14daee58c/?response-content-disposition=attachment%3B%20filename%3D&AWSAccessKeyId=\&Signature=%2FHlDyLpTKWSeynctwoU9ormQU2w%3D&Expires=1589787975
```
Notice that the bucket name in bold is extra and I can download the file once I remove it. Is this some sort of bug with CTFd URL routing to S3 to download the file? Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.