From d257df77199b0024c6dfad8eaad4959ca69e727a Mon Sep 17 00:00:00 2001 From: demeshenko Date: Mon, 29 Jan 2024 19:19:38 +0300 Subject: [PATCH] fix bug with domain regex --- dnsapi/dns_regru.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_regru.sh b/dnsapi/dns_regru.sh index 8ff380f0..56134418 100644 --- a/dnsapi/dns_regru.sh +++ b/dnsapi/dns_regru.sh @@ -94,7 +94,7 @@ _get_root() { for ITEM in ${domains_list}; do IDN_ITEM=${ITEM} case "${domain}" in - *${IDN_ITEM}*) + *\.${IDN_ITEM}*) _domain="$(_idn "${ITEM}")" _debug _domain "${_domain}" return 0