Ticket 151 - strip leading '-' for mailcap sanitize

Kevin J. McCarthy kevin at 8t8.us
Fri Jun 21 20:26:22 UTC 2019

On Fri, Jun 21, 2019 at 10:03:23PM +0200, Eike Rathke wrote:
>I would not like to have all '-' replaced by '_' in attachments
>(specifically I personally use '-' instead of '_' except when I need
>some differentiation). It may also complicate things if for some reason
>the file name is mentioned or referenced elsewhere and not identical.
>I'd rather much prefer to treat a leading '-' as a special case here.

This is referring to filename sanitizing for mailcap invocation: 
mutt_sanitize_filename().  The change isn't preserved outside of the 
invocation, and isn't used to otherwise modify the filenames of 

Does your concern still apply in those circumstances?

Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-dev/attachments/20190621/8b46b7ac/attachment.asc>

More information about the Mutt-dev mailing list