Guo Xiang Tan
|
6ecf37c482
|
Improve URL validation to check for a valid host.
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>
|
2017-12-21 13:50:15 +08:00 |
|