mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Parsing a URL with `URI` is not sufficient as the following cases
are considered valid:
URI.parse("http://https://google.com")
=> #<URI::HTTP http://https//google.com>