Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Apr 4, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Added labels: Lib-Ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant