mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 23:11:44 +00:00
fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses
This commit is contained in:
parent
9293bcfb1c
commit
b19008d1b8
@ -59,7 +59,7 @@ dns_1984hosting_add() {
|
|||||||
if _contains "$response" '"haserrors": true'; then
|
if _contains "$response" '"haserrors": true'; then
|
||||||
_err "1984Hosting failed to add TXT record for $_sub_domain bad RC from _post"
|
_err "1984Hosting failed to add TXT record for $_sub_domain bad RC from _post"
|
||||||
return 1
|
return 1
|
||||||
elif _contains "$response" "<html>"; then
|
elif _contains "$response" "html>"; then
|
||||||
_err "1984Hosting failed to add TXT record for $_sub_domain. Check $HTTP_HEADER file"
|
_err "1984Hosting failed to add TXT record for $_sub_domain. Check $HTTP_HEADER file"
|
||||||
return 1
|
return 1
|
||||||
elif _contains "$response" '"auth": false'; then
|
elif _contains "$response" '"auth": false'; then
|
||||||
|
Loading…
Reference in New Issue
Block a user