Browse Source

fix bug with domain regex

pull/4970/head
demeshenko 10 months ago
parent
commit
d257df7719
  1. 2
      dnsapi/dns_regru.sh

2
dnsapi/dns_regru.sh

@ -94,7 +94,7 @@ _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…
Cancel
Save