kmoonki / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

oauth-ruby - Body is included in Signature Base String when inappropriate #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a body that is not "application/x-www-form-urlencoded"
2. Create a Signature Base String.
3. Witness that form body is in SBS.
4. Also, PUTs have the body in the SBS, regardless of Content-Type.

What is the expected output? What do you see instead?
Per "9.1.1.  Normalize Request Parameters," only POSTs with a Content-Type of 
application/x-
www-form-urlencoded" should have the body included in the SBS.

What version of the product are you using? On what operating system?
SVN Revision: 580

Please provide any additional information below.
Patch and unit tests included. This patch supercedes the one I posted on 
RubyForge.

Original issue reported on code.google.com by stmpj...@gmail.com on 13 Jun 2008 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andyster on 15 Jul 2008 at 11:21