reg.ru list unicode domains NOT in IDN code

This commit is contained in:
spider 2022-07-15 13:31:19 +06:00
parent 1b59b0b739
commit bd73823828
1 changed files with 2 additions and 2 deletions

View File

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