Skip to content

Hyphens in domain label #153

Closed
Closed

Description

@devikasondhi

Hello,

According to RFC 1035, domain label cannot start or end in hyphen. Validation on email addresses such as email("andy-noble@data-workshop.-com") should throw a ValidationFailure while the function currently returns True.

Activity

  1. devikasondhi commented on Apr 11, 2020

    @devikasondhi
    Author

    Here is another inconsistency with the specs.:
    Email can't end with a dot: "andy.noble@data-workshop.com." should be flagged as invalid email

  2. kvesteri commented on Apr 13, 2020

    @kvesteri
    Collaborator

    PRs welcome

  3. added 3 commits that reference this issue on Mar 3, 2023
    7264636
    6ae7a7f
    0321a40
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

    bugIssue: Works not as designed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions