Skip to content

Bug, hostname with trailing dot throws exception #204

@plejon

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'

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