Laith- / lightopenid

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

Mishandled https:// urls in LightOpenID::__construct() #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When php script with LightOpenID constructor call is accessed via https:// 
scheme AND constructor is given 'https://example.com' address $openid->realm is 
malformed.

Following code:
$openid = LightOpenID('https://example.com');
echo $openid->realm;
produces
'https://https://example.com'.
where it should be:
'https://example.com'

Original issue reported on code.google.com by MKlepacz...@gmail.com on 20 Jul 2011 at 12:13

GoogleCodeExporter commented 9 years ago
Fixed. If there will be no reports for a few days, I'll make a new download 
with this fix.

Original comment by mewp...@gmail.com on 20 Jul 2011 at 5:41