mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Making sure domain_idn is always set
This commit is contained in:
parent
8ae70316e9
commit
6d88ca31c3
74 changed files with 142 additions and 1 deletions
|
@ -864,6 +864,9 @@ format_domain() {
|
|||
}
|
||||
|
||||
format_domain_idn() {
|
||||
if [ -z "$domain_idn" ]; then
|
||||
domain_idn=$domain
|
||||
fi
|
||||
if [[ "$domain_idn" = *[![:ascii:]]* ]]; then
|
||||
domain_idn=$(idn -t --quiet -a $domain_idn)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue