From 06c97c442ea31fdfec29943c1e48f63dd03ae108 Mon Sep 17 00:00:00 2001 From: Evgeny Afanasev <98059020+EvgenyAfanasev@users.noreply.github.com> Date: Fri, 13 Jun 2025 17:49:17 +0300 Subject: [PATCH] Update dns_regru.sh --- dnsapi/dns_regru.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsapi/dns_regru.sh b/dnsapi/dns_regru.sh index be5ae117..26f75945 100644 --- a/dnsapi/dns_regru.sh +++ b/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 ;;