Re: [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init()
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 10 Sep 2013 19:31:48 +0000 (15:31 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:57:03 +0000 (09:57 -0800)
b1/ad07bd5c1705efdb34a4487fe2b8a688f48495 [new file with mode: 0644]

diff --git a/b1/ad07bd5c1705efdb34a4487fe2b8a688f48495 b/b1/ad07bd5c1705efdb34a4487fe2b8a688f48495
new file mode 100644 (file)
index 0000000..3e6e0b8
--- /dev/null
@@ -0,0 +1,101 @@
+Return-Path: <dkg@fifthhorseman.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B0EBE431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 10 Sep 2013 12:31:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.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 olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id kFF2OoOmZ2kl for <notmuch@notmuchmail.org>;\r
+       Tue, 10 Sep 2013 12:31:54 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+       by olra.theworths.org (Postfix) with ESMTP id 40A5F431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 10 Sep 2013 12:31:54 -0700 (PDT)\r
+Received: from [192.168.13.193] (lair.fifthhorseman.net [108.58.6.98])\r
+       by che.mayfirst.org (Postfix) with ESMTPSA id 6C856F983\r
+       for <notmuch@notmuchmail.org>; Tue, 10 Sep 2013 15:31:49 -0400 (EDT)\r
+Message-ID: <522F73A4.90802@fifthhorseman.net>\r
+Date: Tue, 10 Sep 2013 15:31:48 -0400\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; Linux x86_64;\r
+       rv:17.0) Gecko/20130821 Icedove/17.0.8\r
+MIME-Version: 1.0\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to\r
+       g_mime_init()\r
+References: <1378839078-6298-1-git-send-email-jani@nikula.org>\r
+In-Reply-To: <1378839078-6298-1-git-send-email-jani@nikula.org>\r
+X-Enigmail-Version: 1.5.1\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+       protocol="application/pgp-signature";\r
+       boundary="----enig2WPDKSBUBLPAXTSGANNNH"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Tue, 10 Sep 2013 19:31:59 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 4880 and 3156)\r
+------enig2WPDKSBUBLPAXTSGANNNH\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 09/10/2013 02:51 PM, Jani Nikula wrote:\r
+> As explained by Jeffrey Stedfast, the author of GMime, quoted in [1]:\r
+>=20\r
+>> Passing the GMIME_ENABLE_RFC2047_WORKAROUNDS flag to g_mime_init()\r
+>> *should* solve the decoding problem mentioned in the thread. This\r
+>> flag should be safe to pass into g_mime_init() without any bad side\r
+>> effects and my unit tests do test that code-path.\r
+\r
+the result of doing this is that there will become legitimately-crafted\r
+subject lines that are now unrepresentable.\r
+\r
+I'm always leery of trying to improve support for data that doesn't\r
+follow the standards at the expense of data that *does* follow the\r
+standards.\r
+\r
+       --dkg\r
+\r
+\r
+------enig2WPDKSBUBLPAXTSGANNNH\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+Content-Disposition: attachment; filename="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.14 (GNU/Linux)\r
+Comment: Using GnuPG with Icedove - http://www.enigmail.net/\r
+\r
+iQJ8BAEBCgBmBQJSL3OkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFQjk2OTEyODdBN0FEREUzNzU3RDkxMUVB\r
+NTI0MDFCMTFCRkRGQTVDAAoJEKUkAbEb/fpcVh0QAJVRFs2iLFsBM4ESUZe+MGG1\r
+n+Co0xw3ykZoCuvDt9acbcBhxy6jyKX1xJtNBR1nhylO/dE/mmp+SyWlmmMiYtu8\r
+D2/3YA3mhZblGJIsmxaNZZ9U5JYlutrwrERaa8Hg/5zWoGbDt7bdnYynGjR9aWgr\r
+TTB+dq+s1H8ydxFyrJlCmSp/tmBa20lUk/CoyK4oHHvpUWtHnKJu2IrsjkC94Irq\r
+XlRgNORzZb2tPXb8iK3NuZUjHkC3lukbqrhJvi7pVCJ8K6ZQ8sxCD6m0GGqhEb/r\r
+WNy0G+Q7xiudye4twCcf8QfNY4KdDTPLbEtKlXkrXl6a1QlVQAJ/EkRzvjWwk/wv\r
+KPm1A59DF+wlH6mqhFSZaOLrIMnnexUzPAwcrsJNsdUtF8lYJZhAaWyk0Or7TBKG\r
+D2xXh7UstURkhsD4kOzV7dysVd3/eogXTSubycJRGyVsLu/RM3yApJZ3LS7us1qY\r
+0yrnvG5XK1KJEonBYhFufbaStq0GNJEGGpvguw0YsmFHtVz01hEQYIRfZHOacZjA\r
+6a490yixSwO/2Hqe9WKSVdUu6PZijY6r+sOf7/zlbP9s3CIGZfcewvJ94JjA6nTt\r
+tvcsA6e0CFf+D8c8IGTFeV1HiYuUZpZxldsNLoNCwXJFkuoMuTwH6Y4Uyp8sOuu3\r
+bnRHzinaMLRnYbrFibC5\r
+=J/8a\r
+-----END PGP SIGNATURE-----\r
+\r
+------enig2WPDKSBUBLPAXTSGANNNH--\r