Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix URL encoding bug around AWS v4 auth [JIRA: RCS-203] #1141

Merged
merged 1 commit into from
May 1, 2015

Commits on May 1, 2015

  1. Fix URL encoding bug around AWS v4 auth

    AWS v4 auth defined URL encoding algorithm that is used for
    generating signature. Mochiweb's utility function convert
    space (" ") to plus ("+") but AWS spec says it should be
    percent encoded. i.e. "%20".
    
    This commit fixes the encoding bug for resource (URL path) and
    query parameters.
    
    cf.
    Authenticating Requests by Using the Authorization Header
      (Compute Checksum of the Entire Payload Prior to Transmission)
      - Signature Version 4 - Amazon Simple Storage Service
      http://docs.aws.amazon.com/ja_jp/AmazonS3/latest/API/sig-v4-header-based-auth.html
    shino committed May 1, 2015
    9 Configuration menu
    Copy the full SHA
    b66fdc9 View commit details
    Browse the repository at this point in the history