Ticket #7385 (closed enhancement: fixed)
Error with local email addresses
| Reported by: | koch@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.1 |
| Component: | notification | Version: | 0.11-stable |
| Severity: | normal | Keywords: | domain |
| Cc: |
Description
When the email address for user yy is taken from the email_map and result in
yy@xx.local
notification will not work. Because
File notification.py
EMAIL_LOOKALIKE_PATTERN = (r"[a-zA-Z0-9.'=+_-]+" '@'
'(?:[a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,4}')
refuse this email address to be a valid email address.
Better would be {2,5}
EMAIL_LOOKALIKE_PATTERN = (r"[a-zA-Z0-9.'=+_-]+" '@'
'(?:[a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,5}')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


