]> git.notmuchmail.org Git - notmuch/commitdiff
Sanitize "Subject:" and "Author:" fields to not contain control characters in notmuch...
authorAndreas Amann <a.amann@ucc.ie>
Sun, 8 May 2011 21:14:33 +0000 (23:14 +0200)
committerCarl Worth <cworth@cworth.org>
Thu, 2 Jun 2011 04:41:24 +0000 (21:41 -0700)
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 <jrollins@finestructure.net>

No differences found