Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
9910ff5f
Commit
9910ff5f
authored
Oct 25, 2016
by
Armando Lüscher
Committed by
neil
Oct 25, 2016
Browse files
Allow saved password strings to have special characters. (#334)
parent
049be104
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
9910ff5f
...
@@ -1224,7 +1224,7 @@ _saveaccountconf() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment