Encode s3 key with encodeURIComponent