]> Sergey Matveev's repositories - public-inbox.git/commit
descend into message/(rfc822|news|global) parts
authorEric Wong <e@yhbt.net>
Sat, 16 May 2020 10:03:22 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 17 May 2020 06:56:40 +0000 (06:56 +0000)
commite60231148eb604a379033c69e8c4494eb1753783
treec49950605f50bc46082e20ee7fe679c6cf76989e
parent77aa1a9eae83fa60eb8208710a714aa4f39d9b34
descend into message/(rfc822|news|global) parts

Email::MIME never supported this properly, but there's real
instances of forwarded messages as message/rfc822 attachments.
message/news is legacy thing which we'll see in archives, and
message/global appears to be the new thing.

gmime also supports message/rfc2822, so we'll support it anyways
despite lacking other evidence of its existence.

Existing attachments remain downloadable as a whole message,
but individual attachments of subparts are now downloadable
and can be displayed in HTML, too.

Furthermore, ensure Xapian can now search for common headers
inside those messages as well as the message bodies.
lib/PublicInbox/Eml.pm
lib/PublicInbox/MsgIter.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/View.pm
t/eml.t
t/psgi_attach.t
t/search.t