Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Simple "view this image externally" question
Date: Fri, 10 Jul 2009 14:40:38 -0500	[thread overview]
Message-ID: <877hyg2uo9.fsf@lifelogs.com> (raw)
In-Reply-To: <b4mzlbdig5b.fsf@jpl.org>

On Fri, 10 Jul 2009 08:35:28 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote: 

KY> Gnus should quote space as follows:

KY> (mm-mailcap-command "display %s" "file name.png"
KY> 		    '("image/png" (name . "file name.png")))
KY>  => "display file\\ name.png"

KY> However, if "display" is a shell script, the quotes in the file
KY> name likely get disappeared when the shell script passes it to
KY> the real command.

Do you mean that if the image is named "; rm -rf /" Gnus will run
"display ; rm -rf /"?

Ted




  reply	other threads:[~2009-07-10 19:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 21:03 Paul R
2009-07-09 23:35 ` Katsumi Yamaoka
2009-07-10 19:40   ` Ted Zlatanov [this message]
2009-07-13  1:16     ` Katsumi Yamaoka
2009-07-13  9:40   ` Paul R

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hyg2uo9.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).