Use encodeURIComponent() instead of escape()
Use encodeURIComponent() instead of escape()

This solves a problem where URLs to objects that have "+" in the filename would throw a 404.

In our specific use case we have filenames with SemVer version info that includes build metadata e.g. product-1.0.0+1-1.zip

Also, the escape() function is deprecated so it's probably good to use encodeURIComponent() regardless: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features

awslabs/aws-js-s3-explorer