Browse Source

Update dns_regru.sh

Fix incorrect root select (test.com.ru and subtest.com.ru)
pull/5036/head
Stanislav Koleda 10 months ago
committed by GitHub
parent
commit
f1d7e0ab23
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      dnsapi/dns_regru.sh

4
dnsapi/dns_regru.sh

@ -93,8 +93,8 @@ _get_root() {
for ITEM in ${domains_list}; do
IDN_ITEM=${ITEM}
case "${domain}" in
*${IDN_ITEM}*)
case ".${domain}" in
*.${IDN_ITEM}*)
_domain="$(_idn "${ITEM}")"
_debug _domain "${_domain}"
return 0

Loading…
Cancel
Save