Modify ↓
Opened 14 years ago
Closed 7 years ago
#8829 closed enhancement (duplicate)
allow user name with email
Reported by: | Steven R. Loomis | Owned by: | Max Stewart |
---|---|---|---|
Priority: | normal | Component: | TracTicketValidatorPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
not just u@… but Some User <u@…>
Index: ticketvalidator/ticketvalidator.py =================================================================== --- ticketvalidator/ticketvalidator.py (revision 10228) +++ ticketvalidator/ticketvalidator.py (working copy) @@ -91,5 +91,7 @@ if len(email) > 7: if re.match("^[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,6}$", email) != None: return True + if re.match("^[^<]*<[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,6}>$", email) != None: + return True return False
Attachments (0)
Change History (2)
comment:1 Changed 7 years ago by
Component: | TicketValidatorPlugin → TracTicketValidatorPlugin |
---|---|
Type: | defect → enhancement |
comment:2 Changed 7 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Duplicate of #7022.