Skip to content

Bug, hostname with trailing dot throws exception #204

Description

@plejon

Throws error when hostnames has trailing dot.
Example usage is for pushing records to Azure DNS.

import validators
validators.domain('example.com.')
ValidationFailure(func=domain, args={'value': 'example.com.'})
validators.__version__
'0.18.2'

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: Redundant

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions