From: Wayne Davison Date: Thu, 5 Jan 2023 05:52:48 +0000 (-0800) Subject: Add backtick to SHELL_CHARS. X-Git-Tag: v3.3.0pre1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c93dedf4538426982f8832fa9103f09a78a01ad;p=thirdparty%2Frsync.git Add backtick to SHELL_CHARS. --- diff --git a/options.c b/options.c index ded0e7a3..c9c82527 100644 --- a/options.c +++ b/options.c @@ -2518,7 +2518,7 @@ static char SPLIT_ARG_WHEN_OLD[1]; **/ char *safe_arg(const char *opt, const char *arg) { -#define SHELL_CHARS "!#$&;|<>(){}\"' \t\\" +#define SHELL_CHARS "!#$&;|<>(){}\"'` \t\\" #define WILD_CHARS "*?[]" /* We don't allow remote brace expansion */ BOOL is_filename_arg = !opt; char *escapes = is_filename_arg ? SHELL_CHARS : WILD_CHARS SHELL_CHARS;