mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 16:29:22 +00: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>