From aece46bdf0af3dce045797c2e897a0088e4324a5 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Fri, 23 Feb 2018 18:33:34 +0000 Subject: use PublicInbox::MIME consistently It works around some bugs in older Email::MIME which we'll find useful. --- lib/PublicInbox/MIME.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/PublicInbox/MIME.pm') diff --git a/lib/PublicInbox/MIME.pm b/lib/PublicInbox/MIME.pm index 54925a85..456eed64 100644 --- a/lib/PublicInbox/MIME.pm +++ b/lib/PublicInbox/MIME.pm @@ -23,6 +23,8 @@ package PublicInbox::MIME; use strict; use warnings; use base qw(Email::MIME); +use Email::MIME::ContentType; +$Email::MIME::ContentType::STRICT_PARAMS = 0; if ($Email::MIME::VERSION <= 1.937) { sub parts_multipart { -- cgit v1.2.3-24-ge0c7