Browse Source

Merge pull request #3112 from olibu/dev

Dev: Fix issue #2833
pull/3113/head
neil 4 years ago
committed by GitHub
parent
commit
19555a98ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      acme.sh

3
acme.sh

@ -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)

Loading…
Cancel
Save