--- /dev/null
+Return-Path: <jani@nikula.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 3A1AE6DE0924\r
+ for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 02:00:21 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.156\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.156 tagged_above=-999 required=5\r
+ tests=[AWL=-0.180, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, URIBL_SBL=0.644, URIBL_SBL_A=0.1]\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 jYjrFTGw4sGC for <notmuch@notmuchmail.org>;\r
+ Sat, 26 Sep 2015 02:00:18 -0700 (PDT)\r
+Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com\r
+ [209.85.212.172])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 708736DE01F5\r
+ for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 02:00:18 -0700 (PDT)\r
+Received: by wicfx3 with SMTP id fx3so48146915wic.1\r
+ for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 02:00:16 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version:content-type;\r
+ bh=6Mmf1tmPrpKB/JPGZ1gCPp77GNSnAwxJRyu8c7MEU6A=;\r
+ b=OV8FEQGd88WwT43PSTxVGthl/lVD30b7hwOjlTnR1nYC0Gp6gUDi/8AdbO3iNuS+dx\r
+ DrloF0xi13sbmzaHx27t9aJEZ56xpyliVRIf/CU3RCRf/R1BNv3Po91oZv9qKhMdA2Cj\r
+ zctuCIjVUKBl9LzGykwXzdXpuS8KL6efB2zn9L/I2CeNwx+H83kmBxjk5vJteBP7mIJu\r
+ I8ucEA3oQc1oRYuYbBsDQ53u8MMa0au7+D6GoKaO6zOoOVUYkAJzeoLnW28gzby5OA4X\r
+ Be2mPRq/jix4zduIQKE30nyHwKtLRVa0h9oXdiNJHlXD1t03Fym/W0lVlKD0yBmcnwMj\r
+ kobQ==\r
+X-Gm-Message-State:\r
+ ALoCoQn6m5AoR5hWaNGNOc61Sr+HFZw/rxDqffGp3lMT6hgzkseCjsZ2lHs/0HO0fvfaYt6pExb+\r
+X-Received: by 10.180.11.175 with SMTP id r15mr8173167wib.74.1443258016784;\r
+ Sat, 26 Sep 2015 02:00:16 -0700 (PDT)\r
+Received: from localhost (mobile-access-bcee63-221.dhcp.inet.fi.\r
+ [188.238.99.221])\r
+ by smtp.gmail.com with ESMTPSA id go5sm7340003wib.3.2015.09.26.02.00.15\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Sat, 26 Sep 2015 02:00:16 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: David Bremner <david@tethera.net>, Johannes Schauer <josch@debian.org>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [bug] notmuch requires Content-Disposition mime header value to\r
+ be lower case\r
+In-Reply-To: <871tdvvoyf.fsf@tesseract.cs.unb.ca>\r
+References: <20150917070056.1941.94846@localhost>\r
+ <20150917083612.1941.22480@localhost> <20150917083956.1941.35098@localhost>\r
+ <87pp1grl2v.fsf@maritornes.cs.unb.ca> <20150918123724.1941.3900@localhost>\r
+ <871tdvvoyf.fsf@tesseract.cs.unb.ca>\r
+User-Agent: Notmuch/0.20.2+66~gb33abd9 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 26 Sep 2015 11:59:58 +0300\r
+Message-ID: <87eghlmu7l.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Sat, 26 Sep 2015 09:00:21 -0000\r
+\r
+On Fri, 18 Sep 2015, David Bremner <david@tethera.net> wrote:\r
+> Johannes Schauer <josch@debian.org> writes:\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, not to\r
+>> spend more time to develop a proper patch for it :)\r
+>\r
+> Consider the bug reported. At the moment I'm not completely convinced\r
+> the patch is correct, never mind the tests. I agree it looks obvious\r
+> enough, but the test results don't make sense to me yet.\r
+>\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
+>> --===============7161366892858136962==\r
+>> Content-Type: application/pdf\r
+>> MIME-Version: 1.0\r
+>> Content-Transfer-Encoding: base64\r
+>> Content-Disposition: =?utf-8?b?YXR0YWNobWVudDsgZmlsZW5hbWU9ImJlZ3LDvMOfdW5n?=\r
+>> =?utf-8?b?LnBkZiI=?=\r
+>\r
+> yes, that sounds like a distinct bug.\r
+\r
+...in the sending end. Correct me if you think I'm wrong, but I don't\r
+think that kind of encoding is allowed in Content-Disposition.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r