mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 12:52:45 +00:00
Fixed debug log to prevent globbing and word splitting.
This commit is contained in:
parent
b41d40da40
commit
55a55e9f74
@ -157,7 +157,7 @@ dns_pleskxml_rm() {
|
|||||||
grep "<host>${fulldomain}.</host>" |
|
grep "<host>${fulldomain}.</host>" |
|
||||||
grep "<value>${txtvalue}</value>"
|
grep "<value>${txtvalue}</value>"
|
||||||
)"
|
)"
|
||||||
|
|
||||||
_debug "Got line for <host>${fulldomain}.</host> and <value>${txtvalue}</value>:"
|
_debug "Got line for <host>${fulldomain}.</host> and <value>${txtvalue}</value>:"
|
||||||
_debug "$recline"
|
_debug "$recline"
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ dns_pleskxml_rm() {
|
|||||||
)"
|
)"
|
||||||
|
|
||||||
_debug "Got id from line:"
|
_debug "Got id from line:"
|
||||||
_debug $recid
|
_debug "$recid"
|
||||||
|
|
||||||
if ! _value "$recid" | grep '^[0-9]\{1,\}$' >/dev/null; then
|
if ! _value "$recid" | grep '^[0-9]\{1,\}$' >/dev/null; then
|
||||||
_err "DNS records for root domain '${root_domain_name}' (Plesk ID ${root_domain_id}) + host '${sub_domain_name}' do not contain the TXT record '${txtvalue}'"
|
_err "DNS records for root domain '${root_domain_name}' (Plesk ID ${root_domain_id}) + host '${sub_domain_name}' do not contain the TXT record '${txtvalue}'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user