mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
40c7b09e27
Summary: Because of the way we were attempting to parse contacts from From/To/Cc/Bcc headers by converting them to JSON with a regex, we were erroneously breaking contacts that contained commas in quoted names into multiple contacts. This could result in things like parsing multiple addresses for the From: header, incorrectly! To resolve the problem, replace our homegrown logic with mimelib's seemingly excellent parseAddresses(), which handles this and a myriad of other cases correctly. Fixes: T7370 Test Plan: unit tests included Reviewers: mark Reviewed By: mark Differential Revision: https://phab.nylas.com/D3565 |
||
---|---|---|
.. | ||
fixtures | ||
imap | ||
helpers.js | ||
message-factory-spec.js | ||
threading-spec.js |