surjit / oauth

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

problem in the signature analysis. OAuthRequest::split_header #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Consumer Request Send. using HTTP Authorization header and HMAC-SHA1
2. Response "Invalid signature"

What is the expected output? What do you see instead?
Response "oauth_token=requestkey&oauth_token_secret=requestsecret"

What version of the product are you using? On what operating system?
windows xp
apache 2.2.6
php-5.2.6

Please provide any additional information below.

OAuthRequest::split_header

It fails.

sample code
--
$param = "oauth_signature=wOJIO9A2W5mFwDgiDvZbTSMK/PY=";
$param_parts = explode("=", $param);
print_r($param_parts);
--

result
--
Array
(
    [0] => oauth_signature
    [1] => wOJIO9A2W5mFwDgiDvZbTSMK/PY
    [2] => 
)
--

The patch was made. 

I am an English amateur.
Please pardon it. 

it might be wrong. 
I am an OAuth amateur.

thanks

Original issue reported on code.google.com by oris...@gmail.com on 4 Sep 2008 at 11:45

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by leah.culver on 14 Jan 2009 at 9:23

GoogleCodeExporter commented 9 years ago
I have fixed this issue. Checkout the OAuth-PHP mailing list for more info 
http://groups.google.com/group/oauth-php/browse_thread/thread/7a71a35e0f232d73

Original comment by morten.f...@gmail.com on 26 Jan 2009 at 10:36