Skip to content

Regression 13.5.1: isURL() fails for number urls, e.g. 1234.com #1544

@mbalaam

Description

@mbalaam

Describe the bug
Using 13.1.17 we have a test for the url http://1337.net (yes, very much lols) which passed, and as far as I can see appears to be a valid url.

This is now failing on 13.5.1, if I try changing to http://l337.net or http://133t.net then the tests pass.

Additional context
Validator.js version: 13.5.1
Node.js version: v12.18.2
OS platform: 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