Browse Source

fix https://github.com/acmesh-official/acme.sh/issues/4110

fix https://github.com/acmesh-official/acme.sh/issues/4110
neilpang 3 năm trước cách đây
mục cha
commit
606e59a5d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dnsapi/dns_selectel.sh

+ 1 - 1
dnsapi/dns_selectel.sh

@@ -120,7 +120,7 @@ _get_root() {
       return 1
     fi
 
-    if _contains "$response" "\"name\": \"$h\","; then
+    if _contains "$response" "\"name\": *\"$h\","; then
       _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
       _domain=$h
       _debug "Getting domain id for $h"