Skip to content

Fix for nested parameters causing invalid signatures - #9

Open
mhawkins wants to merge 1 commit into
mttkay:masterfrom
mhawkins:master
Open

Fix for nested parameters causing invalid signatures#9
mhawkins wants to merge 1 commit into
mttkay:masterfrom
mhawkins:master

Conversation

@mhawkins

@mhawkins mhawkins commented Jun 7, 2011

Copy link
Copy Markdown

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