--- /dev/null
+Return-Path: <josch@debian.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 346D36DE0214\r
+ for <notmuch@notmuchmail.org>; Fri, 18 Sep 2015 05:37:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 0SP3vx3b8a16 for <notmuch@notmuchmail.org>;\r
+ Fri, 18 Sep 2015 05:37:29 -0700 (PDT)\r
+Received: from fulda116.server4you.de (fulda116.server4you.de [62.75.219.19])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 1B1196DE01F7\r
+ for <notmuch@notmuchmail.org>; Fri, 18 Sep 2015 05:37:28 -0700 (PDT)\r
+Received: from localhost (tmo-109-148.customers.d1-online.com\r
+ [80.187.109.148]) by mister-muffin.de (Postfix) with ESMTPSA id 134BC802C3;\r
+ Fri, 18 Sep 2015 14:37:26 +0200 (CEST)\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+ micalg="pgp-sha256"; boundary="===============6402915917846772128=="\r
+MIME-Version: 1.0\r
+Content-Disposition: inline\r
+From: Johannes Schauer <josch@debian.org>\r
+User-Agent: alot/0.3.6\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+References: <20150917070056.1941.94846@localhost>\r
+ <20150917083612.1941.22480@localhost>\r
+ <20150917083956.1941.35098@localhost> <87pp1grl2v.fsf@maritornes.cs.unb.ca>\r
+In-Reply-To: <87pp1grl2v.fsf@maritornes.cs.unb.ca>\r
+Message-ID: <20150918123724.1941.3900@localhost>\r
+Subject: Re: [bug] notmuch requires Content-Disposition mime header value to\r
+ be lower case\r
+Date: Fri, 18 Sep 2015 14:37:24 +0200\r
+X-Mailman-Approved-At: Fri, 18 Sep 2015 09:20:52 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 18 Sep 2015 12:37:31 -0000\r
+\r
+--===============6402915917846772128==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi,\r
+\r
+Quoting David Bremner (2015-09-18 14:03:20)\r
+> I'd recommend making your own new test, rather than modifying existing\r
+> ones to test multiple things. I'd also recommend using json / sexp\r
+> output for your tests, since the ad-hoc text format is kindof\r
+> semi-deprecated.\r
+\r
+can you take care of that? My goal was actually just to report this bug, no=\r
+t to\r
+spend more time to develop a proper patch for it :)\r
+\r
+Also, a related problem occurs when the Content-Disposition header contains\r
+UTF8 characters, in which case the header value gets encoded. Apparently\r
+notmuch does not attempt to decode it. Example mime header:\r
+\r
+--=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D7161366892858136962=3D=3D\r
+Content-Type: application/pdf\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: base64\r
+Content-Disposition: =3D?utf-8?b?YXR0YWNobWVudDsgZmlsZW5hbWU9ImJlZ3LDvMOfdW=\r
+5n?=3D\r
+ =3D?utf-8?b?LnBkZiI=3D?=3D\r
+\r
+\r
+\r
+Thanks!\r
+\r
+cheers, josch\r
+\r
+--===============6402915917846772128==\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: 7bit\r
+Content-Description: signature\r
+Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAABCAAGBQJV/AWEAAoJEPLLpcePvYPhmIQQAKzQ2jHrlArH8TOK2Jc6Sj4a\r
+u+bIlsRfYhvfFxp0dwXXUEh1zwSiEdvdPb9oMYavggMlZz3Yog+T2KBxQEvU+Q6j\r
+Zc0ucb+TtuyzkmBMyijWuefsPVqMioHnyZdDxM7he3QCQBsJWQ9jOAXZ8BjEtmqA\r
+ciISmXNUf9jtcAJh3ZIssAT+5V+oKlGIBFjXlZCekBOumlOH/L9ej/L02EsyOvNE\r
+KTrdgtaWu/NnU0tbULgJxv7j8Via+0et5SJeaw0WsF9eYiuRVx99AnzhW2Wf6NhI\r
+QYgCeNIQagr0RTzI/ufGDfZD4t+LHVD1IZQ4jlNCT2o7zPVCCFSMHOf1zOQDG6Hs\r
+paOgfYSYNrPMUQYDnjqDElc7dV4viVzsMWIXw9YL/pW5sTtbfRX7+ZdM0OmXR4c7\r
+lKx52dGYie+EQ2pU2GzOgJ+LEXMhbCl9w/jhEQdo5LsUdEL9MKS69V/RS1NpgMsP\r
+ySzYl1FOhZzj38XrePKvO5wc5EFj5S7zXaTPkAXMAKhML2I4hShPmUkJQEr2zwt6\r
+lcKqVA+005+oxppLXrMvUO4PflpZAaQcopi/XTQ2w/885Q7P1Bhhke4AwNpY59l3\r
+0GGdg28giEX7cgq5AwzV4zia0lwt7+nH8MGgOSHsRhmdsJcEEj06nVsw+8E12lkA\r
+rbTH+NWBLd0c+nWm0AYC\r
+=tIQp\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============6402915917846772128==--\r