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 for nested parameters causing invalid signatures #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mhawkins
Copy link

@mhawkins mhawkins commented Jun 7, 2011

I was trying to submit nested parameters (i.e. object[attribute]=value ) and was getting invalid signatures from our OAuth provider.

After tracing through the code, I saw that already encoded parameters were getting double encoded when submitted to HTTPParameter's getAsQueryString. In my branch, I modified SignatureBaseString's normalizeRequestParameters method to pass in decoded parameters to that method.

This resolved the problem for me. Thought I should pass this information back in case its of any use to you guys.

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.

1 participant