Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ERAttachment s3 url generation #981

Merged

Conversation

spelletier
Copy link
Member

Very old bug, probably never encountered. I found it using the S3 classes to list bucket contents and do some adjustments on headers for manually uploaded files with names in their name.

@paulhoadley
Copy link
Contributor

Hi Samuel,

I would like to merge this in for you. Can you walk me through the problem it's solving?

@paulhoadley paulhoadley self-assigned this Apr 25, 2023
@spelletier
Copy link
Member Author

If the file path of the attachment contains a space, this space is incorrectly encoded by the current version and the generated url in invalid to retrieve the file.

@paulhoadley paulhoadley merged commit 86eb9a9 into wocommunity:master May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants