Opened 10 years ago
Closed 10 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:1 by , 10 years ago
comment:2 by , 10 years ago
| Component: | Uncategorized → Core (Other) | 
|---|---|
| Resolution: | → duplicate | 
| Status: | new → closed | 
| Type: | Uncategorized → Bug | 
  Note:
 See   TracTickets
 for help on using tickets.
    
We are moving toward simplifying the regular expression instead: #26423.