Mercurial > hg > soundsoftware-site
diff vendor/plugins/open_id_authentication/lib/open_id_authentication.rb @ 14:1d32c0a0efbf
* Update to SVN trunk (revisions 3892-4040)
author | Chris Cannam |
---|---|
date | Wed, 25 Aug 2010 16:30:24 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line diff
--- a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb Wed Jul 28 12:47:17 2010 +0100 +++ b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb Wed Aug 25 16:30:24 2010 +0100 @@ -89,7 +89,7 @@ begin uri = URI.parse(identifier) - uri.scheme = uri.scheme.downcase # URI should do this + uri.scheme = uri.scheme.downcase if uri.scheme # URI should do this identifier = uri.normalize.to_s rescue URI::InvalidURIError raise InvalidOpenId.new("#{identifier} is not an OpenID identifier")