unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Unquoted message ID in notmuch-mutt-tag
@ 2013-07-23  0:33 Jason Miller
  0 siblings, 0 replies; only message in thread
From: Jason Miller @ 2013-07-23  0:33 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-23  0:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23  0:33 Unquoted message ID in notmuch-mutt-tag Jason Miller

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).