S3: Fix encoding when generating public urls of S3 objects.

This code feels worryingly stringily typed, but using URI does not help
because the uriPath still has to be constructed with the right
uri-encoding.
This commit is contained in:
Joey Hess 2019-08-15 12:55:48 -04:00
parent 83fc72653b
commit 708fc6567f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 17 additions and 6 deletions

View file

@ -17,3 +17,5 @@ frustratingly vague.
Experimentally, even url-encoding alphanumerics works in these urls.
So it would be ok to use a standard URI encoder.
> [[fixed|done]] --[[Joey]]