[PATCH] sanitize notmuch-search output - rewrapped
authorFlorian Friesdorf <flo@chaoflow.net>
Sun, 8 May 2011 21:14:32 +0000 (23:14 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:10 +0000 (09:38 -0800)
38/50bf07787015987bab9916ce8cf2f226c47b83 [new file with mode: 0644]

diff --git a/38/50bf07787015987bab9916ce8cf2f226c47b83 b/38/50bf07787015987bab9916ce8cf2f226c47b83
new file mode 100644 (file)
index 0000000..4e20b14
--- /dev/null
@@ -0,0 +1,70 @@
+Return-Path: <flo@chaoflow.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 13A29429E20\r
+       for <notmuch@notmuchmail.org>; Sun,  8 May 2011 14:15:02 -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 C68fuhDGAXCV for <notmuch@notmuchmail.org>;\r
+       Sun,  8 May 2011 14:15:01 -0700 (PDT)\r
+Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 68D00431FB5\r
+       for <notmuch@notmuchmail.org>; Sun,  8 May 2011 14:15:01 -0700 (PDT)\r
+Received: from eve.chaoflow.net (host-188-174-146-106.customer.m-online.net\r
+       [188.174.146.106])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: flo@chaoflow.net)\r
+       by tesla.chaoflow.net (Postfix) with ESMTPSA id 69E48C7A2;\r
+       Sun,  8 May 2011 23:14:59 +0200 (CEST)\r
+Received: from eve.fritz.box (eve.chaoflow.net [127.0.0.1])\r
+       by eve.chaoflow.net (Postfix) with ESMTP id 031EA2AC; Sun,\r
+       8 May 2011 21:14:59 +0000 (Local time zone must be set--see zic manual\r
+       page)\r
+From: Florian Friesdorf <flo@chaoflow.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] sanitize notmuch-search output - rewrapped\r
+Date: Sun,  8 May 2011 23:14:32 +0200\r
+Message-Id: <1304889273-24560-1-git-send-email-flo@chaoflow.net>\r
+X-Mailer: git-send-email 1.7.5.1\r
+In-Reply-To: <87liyjgvyw.fsf@servo.factory.finestructure.net>\r
+References: <87liyjgvyw.fsf@servo.factory.finestructure.net>\r
+X-Virus-Scanned: clamav-milter 0.96.5 at tesla\r
+X-Virus-Status: Clean\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 21:15:02 -0000\r
+\r
+patch applies to current rc (ed6d3b8bb727b3acaa913945d6edf29843ab0864)\r
+and works for me. It's the Andreas' patch just sent, that the commit\r
+message will make it when applied with 'git am'.\r
+\r
+Andreas Amann (1):\r
+  Sanitize "Subject:" and "Author:" fields to not contain control\r
+    characters in notmuch-search\r
+\r
+ notmuch-search.c |   22 ++++++++++++++++++++--\r
+ 1 files changed, 20 insertions(+), 2 deletions(-)\r
+\r
+-- \r
+1.7.5.1\r
+\r