mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 09:42:45 +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
|
||||
IDN_ITEM=${ITEM}
|
||||
case "${domain}" in
|
||||
*${IDN_ITEM}*)
|
||||
case ".${domain}" in
|
||||
*.${IDN_ITEM}*)
|
||||
_domain="$(_idn "${ITEM}")"
|
||||
_debug _domain "${_domain}"
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user