mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-09-02 15:25:26 +00:00
Merge pull request #236 from tohojo/regexp-escape
Add missing escape in regular expression.
This commit is contained in:
2
acme.sh
2
acme.sh
@@ -1726,7 +1726,7 @@ issue() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$status" = "invalid" ] ; then
|
if [ "$status" = "invalid" ] ; then
|
||||||
error="$(echo $response | tr -d "\r\n" | egrep -o '"error":{[^}]*}')"
|
error="$(echo $response | tr -d "\r\n" | egrep -o '"error":\{[^}]*}')"
|
||||||
_debug2 error "$error"
|
_debug2 error "$error"
|
||||||
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
|
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
|
||||||
_debug2 errordetail "$errordetail"
|
_debug2 errordetail "$errordetail"
|
||||||
|
Reference in New Issue
Block a user