Open carstenblt opened 4 days ago
No response
When uploading a file like "test%test.jpg", it can't be viewed, because the URL is not encoded.
This could be solved by using encodeURIComponent on the filename.
encodeURIComponent
2.22.2
payload-cloud-storage, s3Adapter
I've came across the same issue in my codebase. Already created a PR that resolved this problem on my end.
Link to reproduction
No response
Describe the Bug
When uploading a file like "test%test.jpg", it can't be viewed, because the URL is not encoded.
This could be solved by using
encodeURIComponent
on the filename.To Reproduce
Payload Version
2.22.2
Adapters and Plugins
payload-cloud-storage, s3Adapter