From: Andreas Amann Date: Sun, 8 May 2011 21:14:33 +0000 (+0200) Subject: Sanitize "Subject:" and "Author:" fields to not contain control characters in notmuch... X-Git-Tag: debian/0.6_254~66 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=f954b692517237cb0d4779ca95002b2c896cc62d;hp=f954b692517237cb0d4779ca95002b2c896cc62d Sanitize "Subject:" and "Author:" fields to not contain control characters in notmuch-search When a Subject field contained encoded CRLF sequences, these sequences would appear unfiltered in the output of notmuch search. This confused the notmuch emacs interface leading to "Unexpected Output" messages. This is now fixed by replacing all characters with ASCII code less than 32 with a question mark. Signed-off-by: Jameson Graef Rollins ---