Browse Source

fix https://github.com/Neilpang/acme.sh/issues/1105

neilpang 7 years ago
parent
commit
e1db5db8ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -1841,7 +1841,7 @@ _send_signed_request() {
 
 
     _body="$response"
     _body="$response"
     if [ "$needbase64" ]; then
     if [ "$needbase64" ]; then
-      _body="$(echo "$_body" | _dbase64)"
+      _body="$(echo "$_body" | _dbase64 | tr -d '\0')"
       _debug3 _body "$_body"
       _debug3 _body "$_body"
     fi
     fi