mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 11:08:10 +08:00
587f7787a6
Summary: This commit fixes the following bugs in message parsing: - we were unilaterally decoding MIME bodies as UTF-8; instead, decode according to the charset data in the mimepart header - '7bit' content-transfer-encoding means us-ascii, NOT utf-7 - only interpret valid content-transfer-encodings (previously we were trying to treat various charsets as transfer-encodings) - clearer naming: s/values/parsedMessage/ - unify snippet cleanup between plaintext & stripped HTML (merging whitespace etc.) Test Plan: units tests coming Reviewers: juan Differential Revision: https://phab.nylas.com/D3491 |
||
---|---|---|
.. | ||
images | ||
spec | ||
src | ||
stylesheets | ||
main.es6 | ||
package.json |