Ticket 151 - strip leading '-' for mailcap sanitize

Cameron Simpson cs at cskk.id.au
Fri Jun 21 23:11:17 UTC 2019


On 22Jun2019 08:38, Cameron Simpson <cs at cskk.id.au> wrote:
>Please don't. Add a "./" prefix. That way the filename is unchanged in 
>meaning.
>
>If you're _generating_ a scratch filename then avoiding various things 
>is fine, but if you're _using_ a supplied filename then any portion of 
>it may be significant to the target receiving it. So don't muck with 
>it, just render it unoptionlike with a leading "./".

I made the mistake of putting the above into the ticket so it was on the 
record. This has caused some discussion to happen over there with Tavis 
instead of here.

Apologies,
Cameron Simpson <cs at cskk.id.au>


More information about the Mutt-dev mailing list