nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-


From: David Levine
Subject: Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7
Date: Mon, 15 Jan 2018 17:09:27 -0500

Ken wrote:

> Our official list of shell metacharacters in argsplit() is:
>
> #define METACHARS       "$&*(){}[]'\";\\|?<>~`\n"
>
> It seems like replacing all of those for any MIME parameter we encounter
> would make sense, and would be safe?

What about ! with bash?  (Some systems use bash for /bin/sh.)  !n executes
the n-th command from history.

And " #" has meaning to Bourne shell, it starts a comment.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]