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

RSA-SHA1 becomes RSA_SHA1 when sent to server #22

Closed
GoogleCodeExporter opened this issue May 27, 2015 · 1 comment
Closed

RSA-SHA1 becomes RSA_SHA1 when sent to server #22

GoogleCodeExporter opened this issue May 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Make some stub implementations of the missing functions in
OAuthSignatureMethod_RSA_SHA1.php
2. Attempt an OAuth token request

What is the expected output? What do you see instead?
OAuth server should accept signature method.  However, the signature method
is rejected because the code has changed it to RSA_SHA1; the hyphen has
become an underscore.

What version of the product are you using? On what operating system?
This is revision 75 on debian linux.

Please provide any additional information below.
The code which converts the signature method into a class filename changes
all non-alphanumeric characters into underscores.  This remains the case
when the variable is passed to the server.  A patch is attached which
rectifies the problem by introducing a temporary variable.

Original issue reported on code.google.com by gmk...@gmail.com on 25 Jan 2010 at 12:00

Attachments:

@GoogleCodeExporter
Copy link
Author

Fixed on SVN. Thanks.

Original comment by brunobg%...@gtempaccount.com on 27 Jan 2010 at 7:53

  • Changed state: Fixed

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