JerryBlight / oauth

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

function to_header php is not as oAuth spec. #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The function OAuthRequest->to_header() is incorrect.

Produces This :

Authorization: OAuth,oauth_version="1.0",... 

Should be like the http://oauth.net/core/1.0/#auth_header the issue is the
extra comma at the beginning the result should be:

Authorization: OAuth oauth_version="1.0",...

quick fix for anyone use str_replace().

This was not an issue until recently, but now when testing on the google
OAuth API it throws 401 errors because of this comma.

Original issue reported on code.google.com by testdm...@gmail.com on 18 Feb 2010 at 5:39

GoogleCodeExporter commented 9 years ago
woops this is the same as issue 141..... if only I could read :)

Original comment by testdm...@gmail.com on 18 Feb 2010 at 5:50

GoogleCodeExporter commented 9 years ago
Correct. This is duplicate of issue #141 which is now fixed as of revision  
r1169. 

Original comment by morten.f...@gmail.com on 1 Mar 2010 at 7:12