Browse Source

Revert "Unable to add TXT record to IDN domain on reg.ru"

pull/4311/head
Vitaly Kireev 3 years ago
committed by GitHub
parent
commit
a170097156
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dnsapi/dns_regru.sh

4
dnsapi/dns_regru.sh

@ -92,10 +92,10 @@ _get_root() {
domains_list=$(echo "${response}" | grep dname | sed -r "s/.*dname=\"([^\"]+)\".*/\\1/g")
for ITEM in ${domains_list}; do
IDN_ITEM=${ITEM}
IDN_ITEM="$(_idn "${ITEM}")"
case "${domain}" in
*${IDN_ITEM}*)
_domain="$(_idn "${ITEM}")"
_domain=${IDN_ITEM}
_debug _domain "${_domain}"
return 0
;;

Loading…
Cancel
Save