Merge pull request #26 from serghey-rodin/master

Escaping quotas in JSON output of v-list-web-domain-ssl
This commit is contained in:
myvesta 2018-10-31 17:08:36 +01:00 committed by GitHub
commit 5fe591d517
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\","