fix rm method to urlencode the existing txt records.

fix https://github.com/Neilpang/acme.sh/issues/2052
This commit is contained in:
neilpang 2019-01-26 20:27:53 +08:00
parent cc6159b39b
commit 43877d2647

View File

@ -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