Skip to content

All URLs containing non-ASCII characters are considered invalid #111

@goulvench

Description

@goulvench

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions