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
38f1b4d2
Commit
38f1b4d2
authored
Mar 14, 2018
by
neilpang
Browse files
fix wildcard interpretation
parent
931d19ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
38f1b4d2
...
@@ -2999,6 +2999,8 @@ _on_before_issue() {
...
@@ -2999,6 +2999,8 @@ _on_before_issue() {
_chk_pre_hook="$4"
_chk_pre_hook="$4"
_chk_local_addr="$5"
_chk_local_addr="$5"
_debug _on_before_issue
_debug _on_before_issue
_debug _chk_main_domain "$_chk_main_domain"
_debug _chk_alt_domains "$_chk_alt_domains"
#run pre hook
#run pre hook
if [ "$_chk_pre_hook" ]; then
if [ "$_chk_pre_hook" ]; then
_info "Run pre hook:'$_chk_pre_hook'"
_info "Run pre hook:'$_chk_pre_hook'"
...
@@ -3022,8 +3024,8 @@ _on_before_issue() {
...
@@ -3022,8 +3024,8 @@ _on_before_issue() {
_index=1
_index=1
_currentRoot=""
_currentRoot=""
_addrIndex=1
_addrIndex=1
_w_index=1
while true; do
while true; do
_w_index
=
1
d="$(echo "$_chk_main_domain,$_chk_alt_domains," | cut -d , -f "$_w_index")"
d="$(echo "$_chk_main_domain,$_chk_alt_domains," | cut -d , -f "$_w_index")"
_w_index="$(_math "$_w_index" + 1)"
_w_index="$(_math "$_w_index" + 1)"
_debug d "$d"
_debug d "$d"
...
@@ -3561,8 +3563,8 @@ issue() {
...
@@ -3561,8 +3563,8 @@ issue() {
if [ "$ACME_VERSION" = "2" ]; then
if [ "$ACME_VERSION" = "2" ]; then
#make new order request
#make new order request
_identifiers="{\"type\":\"dns\",\"value\":\"$_main_domain\"}"
_identifiers="{\"type\":\"dns\",\"value\":\"$_main_domain\"}"
_w_index=1
while true; do
while true; do
_w_index
=
1
d="$(echo "$_alt_domains," | cut -d , -f "$_w_index")"
d="$(echo "$_alt_domains," | cut -d , -f "$_w_index")"
_w_index="$(_math "$_w_index" + 1)"
_w_index="$(_math "$_w_index" + 1)"
_debug d "$d"
_debug d "$d"
...
@@ -3628,8 +3630,8 @@ $_authorizations_map"
...
@@ -3628,8 +3630,8 @@ $_authorizations_map"
_index=0
_index=0
_currentRoot=""
_currentRoot=""
_w_index=1
while true; do
while true; do
_w_index
=
1
d="$(echo "$_main_domain,$_alt_domains," | cut -d , -f "$_w_index")"
d="$(echo "$_main_domain,$_alt_domains," | cut -d , -f "$_w_index")"
_w_index="$(_math "$_w_index" + 1)"
_w_index="$(_math "$_w_index" + 1)"
_debug d "$d"
_debug d "$d"
...
...
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