commit 40cd2c886fceb55da8dfb32ebdee51d24ee45bcb
parent dc2eb0d5170acdea96f86e9686b6b7345500378b
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 31 Dec 2014 13:17:46 +0100
4
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/libs/OpenID/openid.php b/core/libs/OpenID/openid.php
@@ -516,14 +516,13 @@ class LightOpenID
$location = $this->htmlTag($content, 'meta', 'http-equiv', 'X-XRDS-Location', 'content');
if ($location) {
- echo "4";
$url = $this->build_url(parse_url($url), parse_url($location));
continue;
}
}
if (!$content) $content = $this->request($url, 'GET');
-
+ echo "4";
# At this point, the YADIS Discovery has failed, so we'll switch
# to openid2 HTML discovery, then fallback to openid 1.1 discovery.
$server = $this->htmlTag($content, 'link', 'rel', 'openid2.provider', 'href');