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
19555a98
Unverified
Commit
19555a98
authored
Aug 18, 2020
by
neil
Committed by
GitHub
Aug 18, 2020
Browse files
Merge pull request #3112 from olibu/dev
Dev: Fix issue #2833
parents
9021f006
2d5f1438
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
19555a98
...
...
@@ -2086,7 +2086,7 @@ _send_signed_request() {
_debug2 original
"
$response
"
if
echo
"
$responseHeaders
"
|
grep
-i
"Content-Type: *application/json"
>
/dev/null 2>&1
;
then
response
=
"
$(
echo
"
$response
"
| _normalizeJson
)
"
response
=
"
$(
echo
"
$response
"
| _normalizeJson
| _json_decode
)
"
fi
_debug2 response
"
$response
"
...
...
@@ -2503,6 +2503,7 @@ _initAPI() {
_err
"Can not init api."
return
1
fi
response
=
$(
echo
"
$response
"
| _json_decode
)
_debug2
"response"
"
$response
"
ACME_KEY_CHANGE
=
$(
echo
"
$response
"
| _egrep_o
'key-change" *: *"[^"]*"'
|
cut
-d
'"'
-f
3
)
...
...
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