From: Eric Bollengier Date: Fri, 9 Aug 2024 09:29:13 +0000 (+0200) Subject: Check for backquote in check_for_invalid_chars() function X-Git-Tag: Release-15.0.3~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0807a5d9f1c6ddfcc10588728c51d969fb41007;p=thirdparty%2Fbacula.git Check for backquote in check_for_invalid_chars() function --- diff --git a/bacula/src/lib/edit.c b/bacula/src/lib/edit.c index d355c7579..b7ce258b0 100644 --- a/bacula/src/lib/edit.c +++ b/bacula/src/lib/edit.c @@ -568,6 +568,9 @@ bool check_for_invalid_chars(const char *str, POOLMEM **err, bool *quote_needed) case '\'': pm_strcpy(err, "Found invalid \"\'\" character"); return true; + case '`': + pm_strcpy(err, "Found invalid \"`\" character"); + return true; case '$': pm_strcpy(err, "Found invalid \"$\" character"); return true;