You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the x-xrds-location header is ignored because of an upper case letter in the
key name. $this->request($url, 'HEAD') converts all header names to lower case.
The following patch will redirect to the AOL login screen instead of failing
with "No server found". I don't have an AOL account, so i cannot test the
validation part.
--- lightopenid.php 26 Sep 2010 21:14:23 -0000 1.4
+++ lightopenid.php 27 Sep 2010 00:16:20 -0000
@@ -227,8 +227,8 @@
$headers = $this->request($url, 'HEAD');
$next = false;
- if (isset($headers['x-xrds-Location'])) {
- $url = $this->build_url(parse_url($url),
parse_url(trim($headers['x-xrds-Location'])));
+ if (isset($headers['x-xrds-location'])) {
+ $url = $this->build_url(parse_url($url),
parse_url(trim($headers['x-xrds-location'])));
$next = true;
}
Original issue reported on code.google.com by HendrikU...@nexgo.de on 27 Sep 2010 at 12:17
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
HendrikU...@nexgo.de
on 27 Sep 2010 at 12:17The text was updated successfully, but these errors were encountered: