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

Commit 56a5290

Browse files
committed
Merge pull request #85 from tobiashm/master
Use RFC 2396 compatible URI parser for trustroot.
2 parents 8a54dd7 + fc87446 commit 56a5290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/openid/trustroot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def TrustRoot._parse_url(url)
178178
end
179179

180180
begin
181-
parsed = URI::parse(url)
181+
parsed = URI::DEFAULT_PARSER.parse(url)
182182
rescue URI::InvalidURIError
183183
return nil
184184
end

0 commit comments

Comments
 (0)