diff --git a/bin/v-list-mail-account-autoreply b/bin/v-list-mail-account-autoreply index 257d873d..4d5b17ca 100755 --- a/bin/v-list-mail-account-autoreply +++ b/bin/v-list-mail-account-autoreply @@ -20,6 +20,8 @@ source $VESTA/func/main.sh # JSON list function json_list() { + TO_ESCAPE='\\'; + msg=$(echo "$msg" |sed -e "s|${TO_ESCAPE}|${TO_ESCAPE}${TO_ESCAPE}|g" -e 's/"/\\"/g' -e "s/%quote%/'/g") i='1' # iterator echo '{' echo -e "\t\"$account\": {"