mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Escaping quotas in JSON output of v-list-web-domain-ssl
This commit is contained in:
parent
76319e5a1b
commit
f9a15564e2
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ source $VESTA/func/main.sh
|
||||||
|
|
||||||
# JSON list function
|
# JSON list function
|
||||||
json_list() {
|
json_list() {
|
||||||
|
issuer=$(echo "$issuer" |sed -e 's/"/\\"/g' -e "s/%quote%/'/g")
|
||||||
echo '{'
|
echo '{'
|
||||||
echo -e "\t\"$domain\": {"
|
echo -e "\t\"$domain\": {"
|
||||||
echo " \"CRT\": \"$crt\","
|
echo " \"CRT\": \"$crt\","
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue