Escaping quotas in JSON output of v-list-web-domain-ssl

This commit is contained in:
dpeca 2018-10-31 17:07:01 +01:00 committed by GitHub
commit f9a15564e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ source $VESTA/func/main.sh
# JSON list function
json_list() {
issuer=$(echo "$issuer" |sed -e 's/"/\\"/g' -e "s/%quote%/'/g")
echo '{'
echo -e "\t\"$domain\": {"
echo " \"CRT\": \"$crt\","