Skip to content

localhost and localhost. are valid domains, but give ValidationFailure #185

@milahu

Description

@milahu
import validators
validators.domain('localhost') # -> ValidationFailure
validators.domain('localhost.') # -> ValidationFailure

refs

edit: or does 'domain' mean 'fully qualified domain name'? (fqdn)
then 'localhost' is invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssue/PR: RedundantenhancementIssue/PR: A new featureoutdatedIssue/PR: Open for more than 3 months

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions