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>
|
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| fabricators | ||
| fixtures | ||
| helpers | ||
| import_export | ||
| integration | ||
| integrity | ||
| jobs | ||
| mailers | ||
| models | ||
| multisite | ||
| requests | ||
| serializers | ||
| services | ||
| support | ||
| tasks | ||
| views/omniauth_callbacks | ||
| discourse_tagging_spec.rb | ||
| rails_helper.rb | ||