Skip to content

Commit f9a1556

Browse files
authored
Escaping quotas in JSON output of v-list-web-domain-ssl
1 parent 76319e5 commit f9a1556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/v-list-web-domain-ssl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ source $VESTA/func/main.sh
1919

2020
# JSON list function
2121
json_list() {
22+
issuer=$(echo "$issuer" |sed -e 's/"/\\"/g' -e "s/%quote%/'/g")
2223
echo '{'
2324
echo -e "\t\"$domain\": {"
2425
echo " \"CRT\": \"$crt\","

0 commit comments

Comments
 (0)