From: Nick Porter Date: Fri, 22 Sep 2023 12:27:34 +0000 (+0100) Subject: No need for extra escaping now X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=078c83b4e1921006361db9fdd95b7f3dd4cded2a;p=thirdparty%2Ffreeradius-server.git No need for extra escaping now The `program` option is always parsed as T_BACK_QUOTED_STRING --- diff --git a/src/tests/modules/exec/module.conf b/src/tests/modules/exec/module.conf index bd190a1cf4c..d439f90dd1c 100644 --- a/src/tests/modules/exec/module.conf +++ b/src/tests/modules/exec/module.conf @@ -10,7 +10,7 @@ exec exec_async_mod { input_pairs = &request shell_escape = yes timeout = 10 - program = "/bin/sh -c 'echo \\\'Tmp-String-0 = welcome\\\''" + program = "/bin/sh -c 'echo \'Tmp-String-0 = welcome\''" } exec exec_sync { @@ -26,7 +26,7 @@ exec exec_sync_mod { output_pairs = &control shell_escape = yes timeout = 10 - program = "/bin/sh -c 'echo \\\'Tmp-String-0 = welcome\\\''" + program = "/bin/sh -c 'echo \'Tmp-String-0 = welcome\''" } exec exec_sync_attrs {