unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* sanitization of args notmuch-cli in notmuch-emacs
@ 2014-02-03 19:13 David Bremner
  2014-02-03 20:36 ` Tomi Ollila
  2014-02-26  1:03 ` David Bremner
  0 siblings, 2 replies; 10+ messages in thread
From: David Bremner @ 2014-02-03 19:13 UTC (permalink / raw)
  To: notmuch


Antoine Beaupré found a bug when notmuch-saved-searches contains 
newlines:

        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737496

We can remove newlines with something like
          
(mapcar (lambda (arg) 
	  (replace-regexp-in-string "\n" " " arg))
	args)

I wonder if we should do some other sanitization at the same time?

d

          

   

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-02-26  1:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 19:13 sanitization of args notmuch-cli in notmuch-emacs David Bremner
2014-02-03 20:36 ` Tomi Ollila
2014-02-03 21:21   ` Tomi Ollila
2014-02-08 14:25     ` [PATCH] emacs: remove newlines from input to notmuch count --batch David Bremner
2014-02-08 18:31       ` Tomi Ollila
2014-02-26  1:02       ` David Bremner
2014-02-04 13:10   ` sanitization of args notmuch-cli in notmuch-emacs David Bremner
2014-02-04 17:30     ` Mark Walters
2014-02-04 18:02     ` Tomi Ollila
2014-02-26  1:03 ` David Bremner

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).