Closed coreywright closed 5 years ago
@coreywright thanks for this. LGTM. Merging.
Also can i confirm you are happy for your contribution to be "public domain"?
Also can i confirm you are happy for your contribution to be "public domain"?
I presumed my contribution would be under the MIT license (which is "public domain" plus attribution) as that is the project's advertised license (having read https://github.com/rufuspollock/s3-bucket-listing#copyright-and-license).
Thanks for s3-bucket-listing!
As list.js passes through the
prefix
parameter to the S3 request'sprefix
parameter and S3 documentation calls out characters in a key name that "likely need to be URL encoded", encode directory paths the same as file paths for use inhref
, including not encoding forwardslashes.Refactor encoding and decoding of forwardslashes into a function now that it's used more than once.