"vscode:/vscode.git/clone" did not exist on "38b8440b39010183cd285023bbca65c797cba2b1"
Unverified Commit 4e0de223 authored by Alexilmarranen's avatar Alexilmarranen Committed by GitHub
Browse files

Issue2547 wrong url construction for multiple dns services

Fix for problem in https://github.com/acmesh-official/acme.sh/issues/2547#issuecomment-672830796
parent 7cfbf100
...@@ -166,7 +166,7 @@ _get_root() { ...@@ -166,7 +166,7 @@ _get_root() {
if _contains "$_all_domains" "^$h$"; then if _contains "$_all_domains" "^$h$"; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain=$h _domain=$h
_service=$(printf "%s" "$response" | grep "idn-name=\"$_domain\"" | sed -r "s/.*service=\"(.*)\".*$/\1/") _service=$(printf "%s" "$response" | grep -m 1 "idn-name=\"$_domain\"" | sed -r "s/.*service=\"(.*)\".*$/\1/")
return 0 return 0
fi fi
p="$i" p="$i"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment