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
88bbe55b
Commit
88bbe55b
authored
Mar 14, 2018
by
neilpang
Browse files
fix wrong wildcard domain interpretation
parent
dd17124e
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
88bbe55b
...
@@ -3620,10 +3620,16 @@ $_authorizations_map"
...
@@ -3620,10 +3620,16 @@ $_authorizations_map"
_debug2 _authorizations_map
"
$_authorizations_map
"
_debug2 _authorizations_map
"
$_authorizations_map
"
fi
fi
alldomains
=
$(
echo
"
$_main_domain
,
$_alt_domains
"
|
tr
','
' '
)
_index
=
0
_index
=
0
_currentRoot
=
""
_currentRoot
=
""
for
d
in
$alldomains
;
do
while
true
;
do
_w_index
=
1
d
=
"
$(
echo
"
$_main_domain
,
$_alt_domains
,"
|
cut
-d
,
-f
"
$_w_index
"
)
"
_w_index
=
"
$(
_math
"
$_w_index
"
+ 1
)
"
_debug d
"
$d
"
if
[
-z
"
$d
"
]
;
then
break
fi
_info
"Getting webroot for domain"
"
$d
"
_info
"Getting webroot for domain"
"
$d
"
_index
=
$(
_math
$_index
+ 1
)
_index
=
$(
_math
$_index
+ 1
)
_w
=
"
$(
echo
$_web_roots
|
cut
-d
,
-f
$_index
)
"
_w
=
"
$(
echo
$_web_roots
|
cut
-d
,
-f
$_index
)
"
...
...
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