Skip to content

Should isURL accept accented urls or should make this validation optional? #2424

Open
@toofff

Description

@toofff

Describe the bug
The following url are valid: https://my-ùrl.com & https://my-url.coù

Should accented URLs be allowed?

Shouldn't we add an option to invalidate URLs with accents if the option is enabled?

Thank you for your feedback

Additional context
Validator.js version: 13.11.0
Node.js version: 20.11.0
OS platform: windows, linux & macOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions