mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 06:31:42 +00:00
fix idn
This commit is contained in:
parent
a77f2fa424
commit
0f86651089
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
.autogit
|
|
4
acme.sh
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…
Reference in New Issue
Block a user