Merge pull request #4045 from axelhahn/4044-use-challenge-alias-false

handle challenge-alias "false"
This commit is contained in:
neil 2022-04-21 16:35:29 +08:00 committed by GitHub
commit 3075b4515a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4680,6 +4680,7 @@ $_authorizations_map"
_dns_root_d="$(echo "$_dns_root_d" | sed 's/*.//')" _dns_root_d="$(echo "$_dns_root_d" | sed 's/*.//')"
fi fi
_d_alias="$(_getfield "$_challenge_alias" "$_alias_index")" _d_alias="$(_getfield "$_challenge_alias" "$_alias_index")"
test "$_d_alias" = "$NO_VALUE" && _d_alias=""
_alias_index="$(_math "$_alias_index" + 1)" _alias_index="$(_math "$_alias_index" + 1)"
_debug "_d_alias" "$_d_alias" _debug "_d_alias" "$_d_alias"
if [ "$_d_alias" ]; then if [ "$_d_alias" ]; then