Allow saved password strings to have special characters. (#334)

This commit is contained in:
Armando Lüscher authored and neil committed 2016-10-25 20:49:22 +08:00
1 parent 049be10406
commit 9910ff5fa1
1 file changed
+1 -1
+1 -1
View File
@@ -1224,7 +1224,7 @@ _saveaccountconf() {
_sckey="$1"
_scvalue="$2"
if [ "$ACCOUNT_CONF_PATH" ] ; then
_setopt "$ACCOUNT_CONF_PATH" "$_sckey" "=" "\"$_scvalue\""
_setopt "$ACCOUNT_CONF_PATH" "$_sckey" "=" "'$_scvalue'"
else
_err "ACCOUNT_CONF_PATH is empty, can not save $_sckey=$_scvalue"
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.