Unquoted message ID in notmuch-mutt-tag

Jason Miller jason at milr.com
Mon Jul 22 17:33:03 PDT 2013


Hi,

Just started using notmuch along with notmuch-mutt.  I found a bug in
notmuch-mutt where the message id is not shell-quoted in the tag_action.
a simple one-line-fix is to shell-quote the result of get_message_id:

@@ -150,7 +150,7 @@
 }
 
 sub tag_action(@) {
-    my $mid = get_message_id();
+    my $mid = shell_quote(get_message_id());
 
     system("notmuch tag "
           . shell_quote(join(' ', @_))

-Jason


More information about the notmuch mailing list