Переглянути джерело

Merge pull request #3541 from DerVerruckteFuchs/dns_1984hosting_add()-fix

fix dns_1984hosting_add() so checks for HTML responses actually find HTML responses
neil 4 роки тому
батько
коміт
afb6c70909
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      dnsapi/dns_1984hosting.sh

+ 1 - 1
dnsapi/dns_1984hosting.sh

@@ -59,7 +59,7 @@ dns_1984hosting_add() {
   if _contains "$response" '"haserrors": true'; then
     _err "1984Hosting failed to add TXT record for $_sub_domain bad RC from _post"
     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"
     return 1
   elif _contains "$response" '"auth": false'; then