Fix case sensitive detection of domain in the response request

This commit is contained in:
Zbyszek Żółkiewski 2019-12-06 09:59:35 +01:00
parent ef15e55947
commit 5014f83b86
No known key found for this signature in database
GPG Key ID: 64552A2C5AAD20AF

View File

@ -4082,7 +4082,7 @@ $_authorizations_map"
if [ "$ACME_VERSION" = "2" ]; then if [ "$ACME_VERSION" = "2" ]; then
_idn_d="$(_idn "$d")" _idn_d="$(_idn "$d")"
_candindates="$(echo "$_authorizations_map" | grep "^$_idn_d,")" _candindates="$(echo "$_authorizations_map" | grep -i "^$_idn_d,")"
_debug2 _candindates "$_candindates" _debug2 _candindates "$_candindates"
if [ "$(echo "$_candindates" | wc -l)" -gt 1 ]; then if [ "$(echo "$_candindates" | wc -l)" -gt 1 ]; then
for _can in $_candindates; do for _can in $_candindates; do