Browse Source

reg.ru list unicode domains NOT in IDN code

pull/4187/head
spider 2 years ago
parent
commit
bd73823828
  1. 4
      dnsapi/dns_regru.sh

4
dnsapi/dns_regru.sh

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

Loading…
Cancel
Save