Jaap Marcus 5 years ago
parent
commit
0b64d2ef50
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bin/v-add-web-domain-redirect

+ 1 - 2
bin/v-add-web-domain-redirect

@@ -20,14 +20,13 @@
 # Argument definition
 user=$1
 domain=$2
-redirect=$3
+redirect=$(echo $3 | idn);
 code=${4-301}
 
 # Includes
 source $HESTIA/func/main.sh
 source $HESTIA/conf/hestia.conf
 
-
 #----------------------------------------------------------#
 #                    Verifications                         #
 #----------------------------------------------------------#