ap_escape_shell_cmd — escape dangerous characters in a shell command
char *ap_escape_shell_cmd(pool *p, const char *s)
Prefixes dangerous characters in s
with a
backslash, returning the new version. The current set of dangerous
characters is as follows:
&;`'\"|*?~<>^()[]{}$\\\n
Under OS/2, &
is converted to a
space.[2]