Opened 9 years ago

Closed 9 years ago

#26422 closed Bug (duplicate)

Django email validator does not support parentheses

Reported by: Wolph Owned by: nobody
Component: Core (Other) Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The Django Email Validator currently doesn't support parenthesis in the mail address which should be supported by RFC2822: https://www.ietf.org/rfc/rfc2822.txt
Specifically: 3.2.3. Folding white space and comments

To test:

from django.core import validators

validators.validate_email('spam(1)@eggs.com')

Change History (2)

comment:2 by Tim Graham, 9 years ago

Component: UncategorizedCore (Other)
Resolution: duplicate
Status: newclosed
Type: UncategorizedBug

We are moving toward simplifying the regular expression instead: #26423.

Note: See TracTickets for help on using tickets.
Back to Top