mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Merge pull request #26 from serghey-rodin/master
Escaping quotas in JSON output of v-list-web-domain-ssl
This commit is contained in:
commit
5fe591d517
1 changed files with 1 additions and 0 deletions
|
@ -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\","
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue