Thomas Roessler:
 |On Sun, Jan 31, 1999 at 05:01:55PM -0000, Framstag wrote by way of 
 |[EMAIL PROTECTED] wrote:
 |
 |> Do not forget to enclose ALL of your %s arguments with 'quotes'!!
 |
 |Don't do this.  Mutt takes care of the necessary quoting itself.
 |Adding quotes around "%s" will break that mailcap entry.
 |(Additionally, it never ever worked with file names containing "'"
 |characters.)

Again, the problem is Mutt is the only mailcap client I know of that wants
to do its own %s quoting.  The RFC you posted the snippet from a while back
just says %s is replaced with the name of the file, not the name of the
file with added quote characters commonly used by most user shells (" ", '
'), or the file with all commonly-used shell special characters escaped
with a backslash (\).  

So I think we must assume that %s will be replaced verbatum with the name
of the file, and users should put their own "" around the %s.

-- 
Randall Hopper
[EMAIL PROTECTED]

Reply via email to