Ticket #70 (closed enhancement: fixed)
Address class assumes too much about the structure of email addresses
| Reported by: | fs | Owned by: | amcgregor |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | message-class | Version: | |
| Keywords: | Cc: |
Description
Currently there is a tight validity check in place in turbomail.util.py.
This regex is imho too strict as it prevents the use of internationalized domain names (see #69). Furthermore it forbids email addresses like 'foo@…' which may be perfectly valid. IMHO the validation must allow internationalized domain names and it should be at least configurable to accept addresses which do not contain a top-level domain.
Change History
Note: See
TracTickets for help on using
tickets.
