My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 27: oauth-ruby - Body is included in Signature Base String when inappropriate
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium
Lib-Ruby


Sign in to add a comment
 
Reported by stmpjmpr, Jun 13, 2008
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.
query_string_patch_2.diff
3.6 KB   Download
Comment 1 by andyster, Jul 15, 2008
(No comment was entered for this change.)
Labels: Lib-Ruby
Sign in to add a comment

Hosted by Google Code