localhost and localhost. are valid domains, but give ValidationFailure · Issue #185 · python-validators/validators · GitHub
Skip to content

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

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions