Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #85 from tobiashm/master
Browse files Browse the repository at this point in the history
Use RFC 2396 compatible URI parser for trustroot.
  • Loading branch information
dennisreimann committed Mar 5, 2015
2 parents 8a54dd7 + fc87446 commit 56a5290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openid/trustroot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def TrustRoot._parse_url(url)
end

begin
parsed = URI::parse(url)
parsed = URI::DEFAULT_PARSER.parse(url)
rescue URI::InvalidURIError
return nil
end
Expand Down

0 comments on commit 56a5290

Please sign in to comment.