Skip to content

Loading…

Extra : in url breaks OpenId in Linux. #68

Merged
merged 1 commit into from

2 participants

@dylang

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

@dylang dylang 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`.
1e2efed
@havard havard merged commit a7615e3 into havard:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 2, 2012
  1. @dylang

    Removed extra `:` causing urls to be invalid and break in Linux while…

    dylang committed
    … still working in OSX. `http:://opower.com/.well-known/host-meta` instead of `http://opower.com/.well-known/host-meta`.
Showing with 1 addition and 1 deletion.
  1. +1 −1 openid.js
View
2 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)
{
Something went wrong with that request. Please try again.