mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-15 06:06:35 +08:00
0db62579bd
Summary: I thought it was gonna be OK that we kept all HTML parts in a multipart/alternative MIME structure because the world is a sane place and nobody would ever put more than one HTML part in a multipart/alternative structure. I was wrong. We have found extraterrestrial life^W^WI mean emails which contain duplicate, exactly the same MIME parts within a multipart/alternative MIME structure: two text/plain parts and two text/html parts. This is likely due to a broken MIME implementation, or perhaps a bug in someone's email script. So, we should only keep one text/html MIME part if there are multiple. Test Plan: manual for now---added this to my mail parsing regression test list for implementation once we unify the DBs and have a roughly stable code structure Reviewers: halla, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3750 |
||
---|---|---|
.. | ||
images | ||
spec | ||
src | ||
stylesheets | ||
main.es6 | ||
package.json |