domain idn handler

This commit is contained in:
Serghey Rodin 2016-06-28 15:38:11 +03:00
commit 48cf929e22
4 changed files with 22 additions and 6 deletions

View file

@ -26,6 +26,11 @@ if [ -z "$priority" ]; then
priority=10
fi
domain_idn="$domain"
if [[ "$domain" = *[![:ascii:]]* ]]; then
domain_idn=$(idn -t --quiet -a $domain)
fi
# Includes
source $VESTA/func/main.sh
source $VESTA/func/domain.sh