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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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