Ticket #70 (closed enhancement: fixed)

Opened 7 months ago

Last modified 2 weeks ago

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

Changed 2 weeks ago by amcgregor

  • status changed from new to assigned

Changed 2 weeks ago by amcgregor

  • status changed from assigned to closed
  • resolution set to fixed

Corrected in r112: foo@corporation, foo@domain.com.au, and internationalized domains are now accepted.

Note: See TracTickets for help on using tickets.