Re: [PATCH] Sanitize "Subject:" and "Author:" fields to not contain control character...
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 8 May 2011 23:58:17 +0000 (16:58 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:11 +0000 (09:38 -0800)
8b/94aaec081f0e99fac6eea89814282f30e05e8b [new file with mode: 0644]

diff --git a/8b/94aaec081f0e99fac6eea89814282f30e05e8b b/8b/94aaec081f0e99fac6eea89814282f30e05e8b
new file mode 100644 (file)
index 0000000..b1062aa
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <jrollins@finestructure.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 5239B429E20\r
+       for <notmuch@notmuchmail.org>; Sun,  8 May 2011 16:58:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 zuamwVe+oV+s for <notmuch@notmuchmail.org>;\r
+       Sun,  8 May 2011 16:58:26 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 00687431FB5\r
+       for <notmuch@notmuchmail.org>; Sun,  8 May 2011 16:58:25 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id CC3792E50F2A;\r
+       Sun,  8 May 2011 16:53:24 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
+       [98.149.172.122]) (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id 720A32E50E92;\r
+       Sun,  8 May 2011 16:53:20 -0700 (PDT)\r
+Received: by servo.finestructure.net (Postfix, from userid 1000)\r
+       id 9CC71303; Sun,  8 May 2011 16:58:20 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Florian Friesdorf <flo@chaoflow.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Sanitize "Subject:" and "Author:" fields to not contain\r
+       control characters in notmuch-search\r
+In-Reply-To: <1304889273-24560-2-git-send-email-flo@chaoflow.net>\r
+References: <87liyjgvyw.fsf@servo.factory.finestructure.net>\r
+       <1304889273-24560-1-git-send-email-flo@chaoflow.net>\r
+       <1304889273-24560-2-git-send-email-flo@chaoflow.net>\r
+User-Agent: Notmuch/0.6 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 08 May 2011 16:58:17 -0700\r
+Message-ID: <87oc3cg2xy.fsf@servo.factory.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+Cc: Andreas Amann <a.amann@ucc.ie>\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: Sun, 08 May 2011 23:58:26 -0000\r
+\r
+--=-=-=\r
+\r
+Hey, Florian.  I applied this patch to release-candidate/0.6, manually\r
+adding in the formatting fixes in the same patch.\r
+\r
+I also applied the test patch, modified to use the add_message test\r
+suite function, which makes the patch a bit simpler.\r
+\r
+Thanks for the fixes.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJNxy4ZAAoJEO00zqvie6q8mEQP/R+C8KPqKwL2/2U0IgjkPhNq\r
+r+AtLbUelrkdM2L0sr8HgKckiD1sBTwtdKtU/mmunqta9FWVBDwOgjWELJEg0Mgx\r
+FV0Mm3sJnz0jy1JVk0X564A2NDOZoeZM0AVd+AINJCfUeyOzP+EOxGBBnNJAWWTG\r
+RktFwkMsCnCF4jkkMPsGvACcqDE17CpIRiiJoKT2nBV8j8z5XNb5Gqx+zWCAlLrI\r
+k+UsS2QoczUp7roM2U1F9udTL8/28Q1SDrdbvo2/pj8PlPenHEWCZsqNqjlEfyuR\r
+u4wHx+CC/U/ervQGhE562roQtOzHvcl5PqdJT2Eex1KO+Cg+dDgQ+m2hmtow4qVJ\r
+pV8Efr/IxS/Fd97NHdoa6sJ6o81EIXfHTj6LmOdXflBsoppTL9YLAeTXkRRx+MBV\r
+TbZSGkQN1+9xU7vQmnoDAY3qStV9+DteKKWcu0qyKEdUgyA17mWdNkmJlTgzvy58\r
+Euip2VohKqSefi5QsW7SJsCjScs6ZtKKNBHoop5dhG6r2UogrYUjOYFK+RPXYSha\r
+9PId7bzF+Hs3jwiQ0CcT3aSjbCzAj8DH4tceISZcpsgQTi1beN2DJSes7fp5ufTl\r
+EXzjayFM99pqo3Bfdv02J9G+JkBI666uUFMrzKfqdeZ2ba5tfaODfHpr4yGUwUmW\r
+9R18LJEiVBYq9EDCTvkc\r
+=k7jW\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r