-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What steps will reproduce the problem?
1. Create a post with the content type/encoding "multipart/form-data" with at
least one posted variable
2. Echo the signatureBaseString in the OAuthRequest Library
What is the expected output?
You will see the variable included the signatureBaseString
What do you see instead?
Variables passed via "multipart/form-data", should not be included in the
signatureBaseString.
Reference to the specification: Section 9.1.1. Normalize Request Parameters of
OAuth 1.0a http://oauth.net/core/1.0a/#anchor13
Currently in the code there is a TODO marker for correct handling of the
situation of "multipart/form-data", which does fetch the POST data.
Attached is a minor patch which no longer retrieves the POST data with a
Comment so that it is clear that this behaviour is intentional.
Original issue reported on code.google.com by mat...@gmail.com on 25 Nov 2013 at 3:02
Attachments: