Skip to content

Commit 0b64d2e

Browse files
committed
IDN
1 parent c682ace commit 0b64d2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/v-add-web-domain-redirect

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@
2020
# Argument definition
2121
user=$1
2222
domain=$2
23-
redirect=$3
23+
redirect=$(echo $3 | idn);
2424
code=${4-301}
2525

2626
# Includes
2727
source $HESTIA/func/main.sh
2828
source $HESTIA/conf/hestia.conf
2929

30-
3130
#----------------------------------------------------------#
3231
# Verifications #
3332
#----------------------------------------------------------#

0 commit comments

Comments
 (0)