Browse Source

fix rm method to urlencode the existing txt records.

fix https://github.com/Neilpang/acme.sh/issues/2052
pull/2063/head
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" _debug "TXT entry found"
found=1 found=1
else else
_hostaddress="$(printf "%s" "$_hostaddress" | _url_encode)"
_namecheap_add_host "$_hostname" "$_hosttype" "$_hostaddress" "$_hostmxpref" "$_hostttl" _namecheap_add_host "$_hostname" "$_hosttype" "$_hostaddress" "$_hostmxpref" "$_hostttl"
fi fi
fi fi

Loading…
Cancel
Save