Fix quoting in pattern replacement

This commit is contained in:
Karsten Sperling 2018-06-10 11:39:53 +12:00
parent 1605f4c4e2
commit a3728c52da

View File

@ -3692,7 +3692,7 @@ $_authorizations_map"
fi
if [ "$ACME_VERSION" = "2" ]; then
response="$(echo "$_authorizations_map" | grep "^${d//./\.}," | sed "s/$d,//")"
response="$(echo "$_authorizations_map" | grep "^${d//./\\.}," | sed "s/$d,//")"
_debug2 "response" "$response"
if [ -z "$response" ]; then
_err "get to authz error."