]> Sergey Matveev's repositories - public-inbox.git/commit - t/psgi_attach.t
msg_iter: workaround broken Email::MIME versions
authorEric Wong <e@80x24.org>
Thu, 19 May 2016 10:23:28 +0000 (10:23 +0000)
committerEric Wong <e@80x24.org>
Thu, 19 May 2016 20:53:21 +0000 (20:53 +0000)
commit68a85e8dd7d01578a10a4bfa24818cfe53200690
tree9615529d881897a9f12815e0901e78eaf4a4f2e3
parent78042ed9abb2bbe9783adcc485365a8672e4b36f
msg_iter: workaround broken Email::MIME versions

Email::MIME >= 1.923 and < 1.935 would drop too many newlines
in attachments.  This would lead to ugly text files without
a proper trailing newline if using quoted-printable, 7bit, or
8bit.  Attachments encoded with base64 were not affected.

These versions of Email::MIME are widely available in Debian 8
(Jessie) and even Ubuntu LTS distros so we will need to support
this workaround for a while.
lib/PublicInbox/MsgIter.pm
t/msg_iter.t
t/psgi_attach.t [new file with mode: 0644]