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

Fixing PLAINTEXT signature building #1

Merged
merged 1 commit into from
Jan 21, 2012
Merged

Fixing PLAINTEXT signature building #1

merged 1 commit into from
Jan 21, 2012

Conversation

mplucinski
Copy link
Contributor

In docs, you've written that PLAINTEXT is not deeply tested. Indeed, I got errors during authorization trials on dropbox.com . The problem is that "&" character is percent-encoded two times: first time in createPlaintextSignature() and second time in createSignature(). With this patch, everything works well.

Dzięki za fajną bibliotekę :)

ayoy added a commit that referenced this pull request Jan 21, 2012
Fixing PLAINTEXT signature building
@ayoy ayoy merged commit 8bbb0fd into ayoy:master Jan 21, 2012
@ayoy
Copy link
Owner

ayoy commented Jan 21, 2012

Thanks! You're right, and you prove the test server (used in ft_interface) wrong :) I just double checked at http://hueniverse.com/oauth/guide/authentication/ that the '&' should indeed be percent encoded only once. I'll merge your patch right away.

Miło, że ktoś ciągle tego używa :)

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.

2 participants