diff --git a/acme.sh b/acme.sh index 27bc4fb3..2cc16829 100755 --- a/acme.sh +++ b/acme.sh @@ -5087,6 +5087,13 @@ _process() { _err "'$_dvalue' is not a valid domain for parameter '$1'" return 1 fi + + _sepexis="$(echo "$_dvalue" | grep ",")" + if [ "$_sepexis" ]; then + _err "'$_dvalue' is not a valid domain for parameter '$1', please use more command to add domains" + return 1 + fi + if _is_idn "$_dvalue" && ! _exists idn; then _err "It seems that $_dvalue is an IDN( Internationalized Domain Names), please install 'idn' command first." return 1