Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
931d19ee
Commit
931d19ee
authored
Mar 14, 2018
by
neilpang
Browse files
fix for wildcard domain interpretation
parent
88bbe55b
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
931d19ee
...
@@ -3019,11 +3019,17 @@ _on_before_issue() {
...
@@ -3019,11 +3019,17 @@ _on_before_issue() {
_debug Le_LocalAddress "$_chk_local_addr"
_debug Le_LocalAddress "$_chk_local_addr"
alldomains=$(echo "$_chk_main_domain,$_chk_alt_domains" | tr ',' ' ')
_index=1
_index=1
_currentRoot=""
_currentRoot=""
_addrIndex=1
_addrIndex=1
for d in $alldomains; do
while true; do
_w_index=1
d="$(echo "$_chk_main_domain,$_chk_alt_domains," | cut -d , -f "$_w_index")"
_w_index="$(_math "$_w_index" + 1)"
_debug d "$d"
if [ -z "$d" ]; then
break
fi
_debug "Check for domain" "$d"
_debug "Check for domain" "$d"
_currentRoot="$(_getfield "$_chk_web_roots" $_index)"
_currentRoot="$(_getfield "$_chk_web_roots" $_index)"
_debug "_currentRoot" "$_currentRoot"
_debug "_currentRoot" "$_currentRoot"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment