]> Sergey Matveev's repositories - public-inbox.git/commit
handle "multipart/mixed" messages which are not multipart
authorEric Wong <e@80x24.org>
Sun, 30 Dec 2018 12:41:25 +0000 (12:41 +0000)
committerEric Wong <e@80x24.org>
Sun, 30 Dec 2018 20:15:06 +0000 (20:15 +0000)
commit7d82a8bc04ce2e686371abc6b438ab121b9fa7d0
tree137fd61f2f12c0f781b670ef25bf65efbe60ab1b
parentc3a8ba378c7d3548a5d3ede110b90f8aa8e2473e
handle "multipart/mixed" messages which are not multipart

I've found two examples on https://lore.kernel.org/lkml/
where the messages declared themselves to be "multipart/mixed"
but were actually plain text:

<87llgalspt.fsf@free.fr>
<200308111450.h7BEoOu20077@mail.osdl.org>

With the mboxrd downloaded, mutt is able to view them without
difficulty.

Note: this change would require reindexing of Xapian to pick up
the changes.  But it's only two ancient messages, the first was
resent by the original sender and the second is too old to be
relevant.
MANIFEST
lib/PublicInbox/ContentId.pm
lib/PublicInbox/MsgIter.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/View.pm
t/psgi_multipart_not.t [new file with mode: 0644]