fix rm method to urlencode the existing txt records.
fix https://github.com/Neilpang/acme.sh/issues/2052
This commit is contained in:
parent
cc6159b39b
commit
43877d2647
@ -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…
Reference in New Issue
Block a user