The current URL validation relies on URI.parse, from the standard library, which only works with ASCII.
The following valid URLs are therefore rejected: 'http://example.com/caractère-accentué', 'http://ουτοπία.δπθ.gr'.
The Addressable gem correctly parses these URLs, and could be used as a drop-in replacement instead.
Would you be interested in a PR?
The current URL validation relies on URI.parse, from the standard library, which only works with ASCII. The following valid URLs are therefore rejected:
'http://example.com/caractère-accentué'
,'http://ουτοπία.δπθ.gr'
. The Addressable gem correctly parses these URLs, and could be used as a drop-in replacement instead. Would you be interested in a PR?