From a46670618b4776f95b12fabddb618226e54e41ee Mon Sep 17 00:00:00 2001 From: dharp Date: Fri, 17 Feb 2023 22:03:55 -0600 Subject: [PATCH] update _getdeployconf to allow double quotes in config file when loading values from the config file that had a double quote (") an error was produced on the eval statement resulting in failure to load the variable. Fixed with a sed to escape double quotes in the value prior to performing the eval --- acme.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/acme.sh b/acme.sh index cd44f6e4..8a01c75e 100755 --- a/acme.sh +++ b/acme.sh @@ -2398,6 +2398,7 @@ _getdeployconf() { return 0 # do nothing fi _saved="$(_readdomainconf "SAVED_$_rac_key")" + _saved=$(echo "$_saved" | sed 's/"/\\"/g') eval $_rac_key="\"$_saved\"" export $_rac_key }