Skip to content

Allow punycode emails #17

Open
Open

Description

@fraserredmond

An example from the comments on https://isemail.info

почта@домен.рф turns to xn--@-7sbne8ahbde5a8c.xn--p1ai

Both of those emails fail. Seems like it's the xn-- and @- that cause it to fail. As a workaround I'm replacing them to "xn" and "@" before passing to is_email.

Activity

  1. Lockhead commented on Mar 14, 2017

    @Lockhead

    You should change the title, as this example E-Mail also needs SMTPUTF8 compatibility, punycode only covers the domain-part of an email. So you can't puny encode the local-part...

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions