Ticket #1725 (new defect)

Opened 13 years ago

Incorrect interpretation of commas in From/To/Cc headers

Reported by: philipp@… Owned by: tziade
Priority: P2 Milestone: CPS 3.5.7
Component: CPSMailAccess Version: TRUNK
Severity: normal Keywords:


Most Microsoft Exchange systems are configured to format email addresses as "Lastname, Firstname" <firstname.lastname@evilcorp.com>. Notice how the quotation marks are placed so that the comma won't be treated as a separator between email addresses.

CPSMailAccess fails to understand that. When displaying emails where email addresses are formatted like that (happens in From, To, etc. headers), it thinks Lastname is an email address and Firstname <firstname.lastname@evilcorp.com> is one.

To sum up, it shouldn't treat a comma in quotation marks as an email address separator but as part of the real name. More specifically, CPSMailAccess/mailmessageview.py, _renderLinkedHeaderList needs to be adjusted.

Note: See TracTickets for help on using tickets.