Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e229ba59
Unverified
Commit
e229ba59
authored
Jul 12, 2021
by
neil
Committed by
GitHub
Jul 12, 2021
Browse files
Merge pull request #3601 from acmesh-official/3600
fix
https://github.com/acmesh-official/acme.sh/issues/3600
parents
0831690f
dcc50093
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
e229ba59
...
...
@@ -4712,26 +4712,13 @@ $_authorizations_map"
return
1
fi
_debug
"sleep 2 secs to verify"
sleep
2
_debug
"checking"
_send_signed_request
"
$uri
"
if
[
"
$?
"
!=
"0"
]
;
then
_err
"
$d
:Verify error:
$response
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearup
_on_issue_err
"
$_post_hook
"
"
$vlist
"
return
1
fi
_debug2 original
"
$response
"
response
=
"
$(
echo
"
$response
"
| _normalizeJson
)
"
_debug2 response
"
$response
"
status
=
$(
echo
"
$response
"
| _egrep_o
'"status":"[^"]*'
|
cut
-d
:
-f
2 |
tr
-d
'"'
)
_debug2 status
"
$status
"
if
_contains
"
$status
"
"invalid"
;
then
error
=
"
$(
echo
"
$response
"
| _egrep_o
'"error":\{[^\}]*'
)
"
_debug2 error
"
$error
"
...
...
@@ -4773,7 +4760,19 @@ $_authorizations_map"
_on_issue_err
"
$_post_hook
"
"
$vlist
"
return
1
fi
_debug
"sleep 2 secs to verify again"
sleep
2
_debug
"checking"
_send_signed_request
"
$uri
"
if
[
"
$?
"
!=
"0"
]
;
then
_err
"
$d
:Verify error:
$response
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearup
_on_issue_err
"
$_post_hook
"
"
$vlist
"
return
1
fi
done
done
...
...
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