Skip to content

Commit

Permalink
fix for issue 4972; error can not get domain token entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossy committed Jan 30, 2024
1 parent afacdfc commit 971ef09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4690,7 +4690,7 @@ $_authorizations_map"
_debug keyauthorization "$keyauthorization"
fi

entry="$(echo "$response" | _egrep_o '[^\{]*"type":"'$vtype'"[^\}]*')"
entry="$(echo "$response" | sed -n 's#"challenges":\[\([^]]*\)\]#\1#p' | sed 's#\(\}\),\({\)#\1\n\2#' | grep '"type":"'$vtype'"')"
_debug entry "$entry"

if [ -z "$keyauthorization" -a -z "$entry" ]; then
Expand Down

0 comments on commit 971ef09

Please sign in to comment.