mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 20:32:44 +00:00
Update dns_regru.sh
Fix incorrect root select (test.com.ru and subtest.com.ru)
This commit is contained in:
parent
6e14a073ff
commit
f1d7e0ab23
@ -93,8 +93,8 @@ _get_root() {
|
|||||||
|
|
||||||
for ITEM in ${domains_list}; do
|
for ITEM in ${domains_list}; do
|
||||||
IDN_ITEM=${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…
x
Reference in New Issue
Block a user