fix(v-add-web-domain-ssl): added fix for punnycode domains idn

Added fix for punnycode domain related by issue https://github.com/serghey-rodin/vesta/issues/1991
This commit is contained in:
ShepardEG 2020-04-16 00:26:07 +03:00 committed by GitHub
commit fef5223920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ if [[ "$domain" =~ .*\.$ ]]; then
domain=$(echo "$domain" |sed -e "s/\.$//") domain=$(echo "$domain" |sed -e "s/\.$//")
fi fi
domain=$(idn -t --quiet -u "$domain" ) domain=$(idn -t --quiet -a "$domain" )
domain_idn=$(idn -t --quiet -a "$domain") domain_idn=$(idn -t --quiet -a "$domain")
# Includes # Includes