Skip to content

Localhost no longer recognized #312

@23pointsNorth

Description

@23pointsNorth

Setup:
python3 -m pip install --upgrade validators==0.22.0

Code to reproduce:

import validators
validators.url("http://127.0.0.1:80/")
validators.url("http://localhost:80/")

Expected outcome:
Both calls to return true.

Similar to the other issue, this commit c43826c seems to comment the tests for localhost

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssue/PR: RedundantexpectedIssue: Works as designedquestionIssue: A question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions