fix comma in domain

This commit is contained in:
neilpang 2017-01-17 20:13:15 +08:00
parent 6489a48e1f
commit 2aff36e74b

View File

@ -2391,6 +2391,10 @@ issue() {
Le_Webroot="$1"
Le_Domain="$2"
Le_Alt="$3"
if _contains "$Le_Domain" ","; then
Le_Domain=$(echo "$2,$3" | cut -d , -f 1)
Le_Alt=$(echo "$2,$3" | cut -d , -f 2- | sed "s/,${NO_VALUE}$//")
fi
Le_Keylength="$4"
Le_RealCertPath="$5"
Le_RealKeyPath="$6"