commit fea7868c7e06553c231193c2c49d6ad56997b74e
parent cec1bd1b749f597cd90a51dbe8b717d914843986
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 31 Dec 2014 13:13:07 +0100
3
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/libs/OpenID/openid.php b/core/libs/OpenID/openid.php
@@ -442,7 +442,6 @@ class LightOpenID
&& (strpos($headers['content-type'], 'application/xrds+xml') !== false
|| strpos($headers['content-type'], 'text/xml') !== false)
) {
- echo "3";
# Apparently, some providers return XRDS documents as text/html.
# While it is against the spec, allowing this here shouldn't break
# compatibility with anything.
@@ -506,7 +505,7 @@ class LightOpenID
break;
}
if ($next) continue;
-
+ echo "3";
# There are no relevant information in headers, so we search the body.
$content = $this->request($url, 'GET', array(), true);