mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
domain idn handler
This commit is contained in:
parent
9aaa2aa032
commit
48cf929e22
4 changed files with 22 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue