Allow saved password strings to have special characters. (#334)
This commit is contained in:
parent
049be10406
commit
9910ff5fa1
2
acme.sh
2
acme.sh
@ -1224,7 +1224,7 @@ _saveaccountconf() {
|
|||||||
_sckey="$1"
|
_sckey="$1"
|
||||||
_scvalue="$2"
|
_scvalue="$2"
|
||||||
if [ "$ACCOUNT_CONF_PATH" ] ; then
|
if [ "$ACCOUNT_CONF_PATH" ] ; then
|
||||||
_setopt "$ACCOUNT_CONF_PATH" "$_sckey" "=" "\"$_scvalue\""
|
_setopt "$ACCOUNT_CONF_PATH" "$_sckey" "=" "'$_scvalue'"
|
||||||
else
|
else
|
||||||
_err "ACCOUNT_CONF_PATH is empty, can not save $_sckey=$_scvalue"
|
_err "ACCOUNT_CONF_PATH is empty, can not save $_sckey=$_scvalue"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user