GNOME Bugzilla – Bug 685772
prefer-plain generates endless part list with broken multipart/alternative
Last modified: 2013-09-13 01:07:54 UTC
Created attachment 226087 [details] Simple test-case Broken multipart/alternative emails where text/html subpart is BEFORE text/plain cause prefer-plain module to create an "endless" EMailPartList.
Created attachment 226088 [details] [review] Patch This patch fixes the concatenation of parts GSLists so that it should handle any possible order of subparts within multipart/alternative. This patch does not solve the fact, that such broken emails result in the mail parts being displayed in wrong order (the test case above will display the HTML attachment first, then the plain text part *). The question is whether we want to further complicate the code because of a few broken generated mails (I'm not aware of any MUAs doing this)... *) with "Show suppressed HTML parts as attachments" enabled and prefer-plain set to "Prefer plain text" or "Only ever show plain text".
Milan made a better patch. *** This bug has been marked as a duplicate of bug 686278 ***