Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@paulineribeyre
Copy link
Contributor

@paulineribeyre paulineribeyre commented Aug 8, 2019

PXP-3646: encode spaces in file names in presigned URLs to follow RFC 1738

Improvements

  • Special characters are encoded in S3 presigned urls

@github-actions
Copy link

github-actions bot commented Aug 8, 2019

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

)
signature = generate_signature(signing_key.key, string_to_sign)

# escape special characters _after_ generating the signature, to match the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't really require that it happens after, right? like this line could be right after 136. it's just that the signature is calculated with literal spaces

@paulineribeyre paulineribeyre merged commit 8148dba into master Aug 12, 2019
@paulineribeyre paulineribeyre deleted the feat/encode-url branch August 12, 2019 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants