Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Handle URL Encoding for Requests #5

Merged
merged 1 commit into from
Jun 22, 2015
Merged

Handle URL Encoding for Requests #5

merged 1 commit into from
Jun 22, 2015

Conversation

jekhokie
Copy link
Contributor

Update the oauth validator to ensure that incoming URL paths are decoded
prior to being encoded. This is necessary because without decoding
first, you can potentially end up with double-encoded paths, which will
create signature mis-matches (i.e. /users/{user}/dothis will
double-encode the curly-braces due to the incoming request already being
URL encoded).

Update the oauth validator to ensure that incoming URL paths are decoded
prior to being encoded. This is necessary because without decoding
first, you can potentially end up with double-encoded paths, which will
create signature mis-matches (i.e. /users/{user}/dothis will
double-encode the curly-braces due to the incoming request already being
URL encoded).
ryanbreen added a commit that referenced this pull request Jun 22, 2015
Handle URL Encoding for Requests
@ryanbreen ryanbreen merged commit 4a62b25 into Cimpress-MCP:master Jun 22, 2015
@ryanbreen
Copy link
Contributor

LGTM, thanks!

@ryanbreen
Copy link
Contributor

This will be in version 1.5.6 which should make it to NPM in the next couple of minutes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants