1 Return-Path: <jani@nikula.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 3A1AE6DE0924
\r
6 for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 02:00:21 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.156 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.180, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,
\r
13 RCVD_IN_MSPIKE_WL=-0.01, URIBL_SBL=0.644, URIBL_SBL_A=0.1]
\r
15 Received: from arlo.cworth.org ([127.0.0.1])
\r
16 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id jYjrFTGw4sGC for <notmuch@notmuchmail.org>;
\r
18 Sat, 26 Sep 2015 02:00:18 -0700 (PDT)
\r
19 Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com
\r
21 by arlo.cworth.org (Postfix) with ESMTPS id 708736DE01F5
\r
22 for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 02:00:18 -0700 (PDT)
\r
23 Received: by wicfx3 with SMTP id fx3so48146915wic.1
\r
24 for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 02:00:16 -0700 (PDT)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=1e100.net; s=20130820;
\r
27 h=x-gm-message-state:from:to:subject:in-reply-to:references
\r
28 :user-agent:date:message-id:mime-version:content-type;
\r
29 bh=6Mmf1tmPrpKB/JPGZ1gCPp77GNSnAwxJRyu8c7MEU6A=;
\r
30 b=OV8FEQGd88WwT43PSTxVGthl/lVD30b7hwOjlTnR1nYC0Gp6gUDi/8AdbO3iNuS+dx
\r
31 DrloF0xi13sbmzaHx27t9aJEZ56xpyliVRIf/CU3RCRf/R1BNv3Po91oZv9qKhMdA2Cj
\r
32 zctuCIjVUKBl9LzGykwXzdXpuS8KL6efB2zn9L/I2CeNwx+H83kmBxjk5vJteBP7mIJu
\r
33 I8ucEA3oQc1oRYuYbBsDQ53u8MMa0au7+D6GoKaO6zOoOVUYkAJzeoLnW28gzby5OA4X
\r
34 Be2mPRq/jix4zduIQKE30nyHwKtLRVa0h9oXdiNJHlXD1t03Fym/W0lVlKD0yBmcnwMj
\r
37 ALoCoQn6m5AoR5hWaNGNOc61Sr+HFZw/rxDqffGp3lMT6hgzkseCjsZ2lHs/0HO0fvfaYt6pExb+
\r
38 X-Received: by 10.180.11.175 with SMTP id r15mr8173167wib.74.1443258016784;
\r
39 Sat, 26 Sep 2015 02:00:16 -0700 (PDT)
\r
40 Received: from localhost (mobile-access-bcee63-221.dhcp.inet.fi.
\r
42 by smtp.gmail.com with ESMTPSA id go5sm7340003wib.3.2015.09.26.02.00.15
\r
43 (version=TLSv1/SSLv3 cipher=OTHER);
\r
44 Sat, 26 Sep 2015 02:00:16 -0700 (PDT)
\r
45 From: Jani Nikula <jani@nikula.org>
\r
46 To: David Bremner <david@tethera.net>, Johannes Schauer <josch@debian.org>,
\r
47 notmuch@notmuchmail.org
\r
48 Subject: Re: [bug] notmuch requires Content-Disposition mime header value to
\r
50 In-Reply-To: <871tdvvoyf.fsf@tesseract.cs.unb.ca>
\r
51 References: <20150917070056.1941.94846@localhost>
\r
52 <20150917083612.1941.22480@localhost> <20150917083956.1941.35098@localhost>
\r
53 <87pp1grl2v.fsf@maritornes.cs.unb.ca> <20150918123724.1941.3900@localhost>
\r
54 <871tdvvoyf.fsf@tesseract.cs.unb.ca>
\r
55 User-Agent: Notmuch/0.20.2+66~gb33abd9 (http://notmuchmail.org) Emacs/24.4.1
\r
56 (x86_64-pc-linux-gnu)
\r
57 Date: Sat, 26 Sep 2015 11:59:58 +0300
\r
58 Message-ID: <87eghlmu7l.fsf@nikula.org>
\r
60 Content-Type: text/plain
\r
61 X-BeenThere: notmuch@notmuchmail.org
\r
62 X-Mailman-Version: 2.1.18
\r
64 List-Id: "Use and development of the notmuch mail system."
\r
65 <notmuch.notmuchmail.org>
\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
69 List-Post: <mailto:notmuch@notmuchmail.org>
\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
72 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
73 X-List-Received-Date: Sat, 26 Sep 2015 09:00:21 -0000
\r
75 On Fri, 18 Sep 2015, David Bremner <david@tethera.net> wrote:
\r
76 > Johannes Schauer <josch@debian.org> writes:
\r
80 >> Quoting David Bremner (2015-09-18 14:03:20)
\r
81 >>> I'd recommend making your own new test, rather than modifying existing
\r
82 >>> ones to test multiple things. I'd also recommend using json / sexp
\r
83 >>> output for your tests, since the ad-hoc text format is kindof
\r
84 >>> semi-deprecated.
\r
86 >> can you take care of that? My goal was actually just to report this bug, not to
\r
87 >> spend more time to develop a proper patch for it :)
\r
89 > Consider the bug reported. At the moment I'm not completely convinced
\r
90 > the patch is correct, never mind the tests. I agree it looks obvious
\r
91 > enough, but the test results don't make sense to me yet.
\r
94 >> Also, a related problem occurs when the Content-Disposition header contains
\r
95 >> UTF8 characters, in which case the header value gets encoded. Apparently
\r
96 >> notmuch does not attempt to decode it. Example mime header:
\r
98 >> --===============7161366892858136962==
\r
99 >> Content-Type: application/pdf
\r
100 >> MIME-Version: 1.0
\r
101 >> Content-Transfer-Encoding: base64
\r
102 >> Content-Disposition: =?utf-8?b?YXR0YWNobWVudDsgZmlsZW5hbWU9ImJlZ3LDvMOfdW5n?=
\r
103 >> =?utf-8?b?LnBkZiI=?=
\r
105 > yes, that sounds like a distinct bug.
\r
107 ...in the sending end. Correct me if you think I'm wrong, but I don't
\r
108 think that kind of encoding is allowed in Content-Disposition.
\r
114 > _______________________________________________
\r
115 > notmuch mailing list
\r
116 > notmuch@notmuchmail.org
\r
117 > http://notmuchmail.org/mailman/listinfo/notmuch
\r