#31053: EmailValidator should not accept soft hyphen in email addresses.
-----------------------------+--------------------------------------
Reporter: Mogoh Viol | Owner: nobody
Type: Bug | Status: closed
Component: Core (Mail) | Version: master
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Comment (by Mogoh Viol):
RFC 1035 2.3.1 Says (https://tools.ietf.org/html/rfc1035#section-2.3.1):
> They must start with a letter, end with a letter or digit, and have as
interior characters only letters, digits, and hyphen.
Of course, there are by now some internationalized domain names
(https://en.wikipedia.org/wiki/Internationalized_domain_name) for non-
ascii characters.
I do not know those specifications in detail.
What I know is, that non-ascii characters are encoded in ascii using
punycode.
But if special characters accepted, then other special characters like
"äöü" should also be accepted.
If "äöü" are not allowed, soft hyphens should also be forbidden.
--
Ticket URL: <https://code.djangoproject.com/ticket/31053#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.2bf6ccdcb28ca23aec5fa3d466a77960%40djangoproject.com.