<<< Date Index >>>     <<< Thread Index >>>

Re: Sanitizing attachment file names : too much



On Tue, Apr 18, 2006 at 05:29:43PM +0200, Thomas Roessler wrote:

> That change was indeed bad.

It wasn't implemented correctly, since I got the variables slightly wrong,
but I think the substitution is a better solution than this:

> +       strfcpy (buf, mutt_basename (NONULL (top->filename)), sizeof (buf));

This discards information; changing / for _ doesn't.

-- 
Paul

Attachment: signature.asc
Description: Digital signature