scream78 / oauth

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

$request->to_header does not create a valid header if no realm is specified #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate an OAuth request object
2. examine $request->to_header();

What is the expected output? What do you see instead?
Notice the string generated has a comma directly after OAuth instead of a 
space: "Authorization: OAuth,oauth_version=..."

Expect to see "Authorization: OAuth oauth_version.."

What version of the product are you using? On what operating system?
PHP OAuth r1163 

Please provide any additional information below.
If a realm is specified, the problem is handled correctly.

Original issue reported on code.google.com by TaylorSi...@gmail.com on 14 Jan 2010 at 9:38

GoogleCodeExporter commented 9 years ago

Original comment by jmkrist...@gmail.com on 17 Jan 2010 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by morten.f...@gmail.com on 17 Feb 2010 at 4:50

GoogleCodeExporter commented 9 years ago
Changed code and test cases in revision r1169 - please verify and close issue.

Original comment by morten.f...@gmail.com on 1 Mar 2010 at 6:51