Browse Source

Update dns_regru.sh

pull/6397/head
Evgeny Afanasev 4 months ago
committed by GitHub
parent
commit
06c97c442e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      dnsapi/dns_regru.sh

4
dnsapi/dns_regru.sh

@ -95,10 +95,10 @@ _get_root() {
domains_list=$(echo "${response}" | grep dname | sed -r "s/.*dname=\"([^\"]+)\".*/\\1/g")
for ITEM in ${domains_list}; do
IDN_ITEM=${ITEM}
IDN_ITEM="$(_idn "${ITEM}")"
case "${domain}" in
*${IDN_ITEM}*)
_domain="$(_idn "${ITEM}")"
_domain=${IDN_ITEM}
_debug _domain "${_domain}"
return 0
;;

Loading…
Cancel
Save