Browse Source

fix rm method to urlencode the existing txt records.

fix https://github.com/Neilpang/acme.sh/issues/2052
dnsconf
neilpang 6 years ago
parent
commit
43877d2647
  1. 1
      dnsapi/dns_namecheap.sh

1
dnsapi/dns_namecheap.sh

@ -283,6 +283,7 @@ _del_namecheap_TXT() {
_debug "TXT entry found"
found=1
else
_hostaddress="$(printf "%s" "$_hostaddress" | _url_encode)"
_namecheap_add_host "$_hostname" "$_hosttype" "$_hostaddress" "$_hostmxpref" "$_hostttl"
fi
fi

Loading…
Cancel
Save