1 Return-Path: <josch@debian.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 346D36DE0214
\r
6 for <notmuch@notmuchmail.org>; Fri, 18 Sep 2015 05:37:31 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 0SP3vx3b8a16 for <notmuch@notmuchmail.org>;
\r
16 Fri, 18 Sep 2015 05:37:29 -0700 (PDT)
\r
17 Received: from fulda116.server4you.de (fulda116.server4you.de [62.75.219.19])
\r
18 by arlo.cworth.org (Postfix) with ESMTP id 1B1196DE01F7
\r
19 for <notmuch@notmuchmail.org>; Fri, 18 Sep 2015 05:37:28 -0700 (PDT)
\r
20 Received: from localhost (tmo-109-148.customers.d1-online.com
\r
21 [80.187.109.148]) by mister-muffin.de (Postfix) with ESMTPSA id 134BC802C3;
\r
22 Fri, 18 Sep 2015 14:37:26 +0200 (CEST)
\r
23 Content-Type: multipart/signed; protocol="application/pgp-signature";
\r
24 micalg="pgp-sha256"; boundary="===============6402915917846772128=="
\r
26 Content-Disposition: inline
\r
27 From: Johannes Schauer <josch@debian.org>
\r
28 User-Agent: alot/0.3.6
\r
29 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
30 References: <20150917070056.1941.94846@localhost>
\r
31 <20150917083612.1941.22480@localhost>
\r
32 <20150917083956.1941.35098@localhost> <87pp1grl2v.fsf@maritornes.cs.unb.ca>
\r
33 In-Reply-To: <87pp1grl2v.fsf@maritornes.cs.unb.ca>
\r
34 Message-ID: <20150918123724.1941.3900@localhost>
\r
35 Subject: Re: [bug] notmuch requires Content-Disposition mime header value to
\r
37 Date: Fri, 18 Sep 2015 14:37:24 +0200
\r
38 X-Mailman-Approved-At: Fri, 18 Sep 2015 09:20:52 -0700
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.18
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Fri, 18 Sep 2015 12:37:31 -0000
\r
53 --===============6402915917846772128==
\r
54 Content-Type: text/plain; charset="utf-8"
\r
56 Content-Transfer-Encoding: quoted-printable
\r
60 Quoting David Bremner (2015-09-18 14:03:20)
\r
61 > I'd recommend making your own new test, rather than modifying existing
\r
62 > ones to test multiple things. I'd also recommend using json / sexp
\r
63 > output for your tests, since the ad-hoc text format is kindof
\r
66 can you take care of that? My goal was actually just to report this bug, no=
\r
68 spend more time to develop a proper patch for it :)
\r
70 Also, a related problem occurs when the Content-Disposition header contains
\r
71 UTF8 characters, in which case the header value gets encoded. Apparently
\r
72 notmuch does not attempt to decode it. Example mime header:
\r
74 --=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D7161366892858136962=3D=3D
\r
75 Content-Type: application/pdf
\r
77 Content-Transfer-Encoding: base64
\r
78 Content-Disposition: =3D?utf-8?b?YXR0YWNobWVudDsgZmlsZW5hbWU9ImJlZ3LDvMOfdW=
\r
80 =3D?utf-8?b?LnBkZiI=3D?=3D
\r
88 --===============6402915917846772128==
\r
90 Content-Transfer-Encoding: 7bit
\r
91 Content-Description: signature
\r
92 Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"
\r
94 -----BEGIN PGP SIGNATURE-----
\r
97 iQIcBAABCAAGBQJV/AWEAAoJEPLLpcePvYPhmIQQAKzQ2jHrlArH8TOK2Jc6Sj4a
\r
98 u+bIlsRfYhvfFxp0dwXXUEh1zwSiEdvdPb9oMYavggMlZz3Yog+T2KBxQEvU+Q6j
\r
99 Zc0ucb+TtuyzkmBMyijWuefsPVqMioHnyZdDxM7he3QCQBsJWQ9jOAXZ8BjEtmqA
\r
100 ciISmXNUf9jtcAJh3ZIssAT+5V+oKlGIBFjXlZCekBOumlOH/L9ej/L02EsyOvNE
\r
101 KTrdgtaWu/NnU0tbULgJxv7j8Via+0et5SJeaw0WsF9eYiuRVx99AnzhW2Wf6NhI
\r
102 QYgCeNIQagr0RTzI/ufGDfZD4t+LHVD1IZQ4jlNCT2o7zPVCCFSMHOf1zOQDG6Hs
\r
103 paOgfYSYNrPMUQYDnjqDElc7dV4viVzsMWIXw9YL/pW5sTtbfRX7+ZdM0OmXR4c7
\r
104 lKx52dGYie+EQ2pU2GzOgJ+LEXMhbCl9w/jhEQdo5LsUdEL9MKS69V/RS1NpgMsP
\r
105 ySzYl1FOhZzj38XrePKvO5wc5EFj5S7zXaTPkAXMAKhML2I4hShPmUkJQEr2zwt6
\r
106 lcKqVA+005+oxppLXrMvUO4PflpZAaQcopi/XTQ2w/885Q7P1Bhhke4AwNpY59l3
\r
107 0GGdg28giEX7cgq5AwzV4zia0lwt7+nH8MGgOSHsRhmdsJcEEj06nVsw+8E12lkA
\r
108 rbTH+NWBLd0c+nWm0AYC
\r
110 -----END PGP SIGNATURE-----
\r
112 --===============6402915917846772128==--
\r