Merge pull request #236 from tohojo/regexp-escape
Add missing escape in regular expression.pull/243/head
commit
1a6305c93f
2
acme.sh
2
acme.sh
|
@ -1726,7 +1726,7 @@ issue() {
|
|||
fi
|
||||
|
||||
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"
|
||||
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
|
||||
_debug2 errordetail "$errordetail"
|
||||
|
|
Loading…
Reference in New Issue