From 1e2efedf46e3e903f57b9345c8512824d7f5e512 Mon Sep 17 00:00:00 2001 From: Dylan Greene Date: Mon, 2 Apr 2012 12:38:09 -0300 Subject: [PATCH] Removed extra `:` causing urls to be invalid and break in Linux while still working in OSX. `http:://opower.com/.well-known/host-meta` instead of `http://opower.com/.well-known/host-meta`. --- openid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid.js b/openid.js index d909f1d..992ff15 100644 --- a/openid.js +++ b/openid.js @@ -534,7 +534,7 @@ var _resolveHostMeta = function(identifier, strict, callback, fallBackToProxy) } else { - hostMetaUrl = host.protocol + '://' + host.host + '/.well-known/host-meta'; + hostMetaUrl = host.protocol + '//' + host.host + '/.well-known/host-meta'; } if(!hostMetaUrl) {