Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 141 by
mat...@gmail.com: POST data included in signature when
content type is "multipart/form-data"
http://code.google.com/p/oauth-php/issues/detail?id=141
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.
Attachments:
form-data.patch 1.1 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings