Browse Source

fix idn

dnsconf
neilpang 6 years ago
parent
commit
0f86651089
  1. 1
      .gitignore
  2. 4
      acme.sh

1
.gitignore

@ -1 +0,0 @@
.autogit

4
acme.sh

@ -1119,9 +1119,9 @@ _createcsr() {
domainlist="$(_idn "$domainlist")" domainlist="$(_idn "$domainlist")"
_debug2 domainlist "$domainlist" _debug2 domainlist "$domainlist"
if _contains "$domainlist" ","; then if _contains "$domainlist" ","; then
alt="DNS:$domain,DNS:$(echo "$domainlist" | sed "s/,,/,/g" | sed "s/,/,DNS:/g")"
alt="DNS:$(_idn $domain),DNS:$(echo "$domainlist" | sed "s/,,/,/g" | sed "s/,/,DNS:/g")"
else else
alt="DNS:$domain,DNS:$domainlist"
alt="DNS:$(_idn $domain),DNS:$domainlist"
fi fi
#multi #multi
_info "Multi domain" "$alt" _info "Multi domain" "$alt"

Loading…
Cancel
Save