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
72205176
Commit
72205176
authored
Mar 19, 2018
by
Felipe Braz
Browse files
Merge branch 'dev' of github.com:Neilpang/acme.sh
parents
480742cc
d3da6032
Changes
2
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
72205176
...
@@ -4100,13 +4100,15 @@ $_authorizations_map"
...
@@ -4100,13 +4100,15 @@ $_authorizations_map"
fi
fi
if [ "$code" != "200" ]; then
if [ "$code" != "200" ]; then
_err "Sign failed, code is not 200."
_err "Sign failed, code is not 200."
_err "$response"
_on_issue_err "$_post_hook"
_on_issue_err "$_post_hook"
return 1
return 1
fi
fi
Le_LinkCert="$(echo "$response" | tr -d '\r\n' | _egrep_o '"certificate" *: *"[^"]*"' | cut -d '"' -f 4)"
Le_LinkCert="$(echo "$response" | tr -d '\r\n' | _egrep_o '"certificate" *: *"[^"]*"' | cut -d '"' -f 4)"
if ! _get "$Le_LinkCert" >"$CERT_PATH"; then
if ! _get "$Le_LinkCert" >"$CERT_PATH"; then
_err "Sign failed, code is not 200."
_err "Sign failed, can not download cert:$Le_LinkCert."
_err "$response"
_on_issue_err "$_post_hook"
_on_issue_err "$_post_hook"
return 1
return 1
fi
fi
...
...
dnsapi/dns_freedns.sh
View file @
72205176
...
@@ -279,7 +279,7 @@ _freedns_add_txt_record() {
...
@@ -279,7 +279,7 @@ _freedns_add_txt_record() {
domain_id
=
"
$2
"
domain_id
=
"
$2
"
subdomain
=
"
$3
"
subdomain
=
"
$3
"
value
=
"
$(
printf
'%s'
"
$4
"
| _url_encode
)
"
value
=
"
$(
printf
'%s'
"
$4
"
| _url_encode
)
"
url
=
"http://freedns.afraid.org/subdomain/save.php?step=2"
url
=
"http
s
://freedns.afraid.org/subdomain/save.php?step=2"
htmlpage
=
"
$(
_post
"type=TXT&domain_id=
$domain_id
&subdomain=
$subdomain
&address=%22
$value
%22&send=Save%21"
"
$url
"
)
"
htmlpage
=
"
$(
_post
"type=TXT&domain_id=
$domain_id
&subdomain=
$subdomain
&address=%22
$value
%22&send=Save%21"
"
$url
"
)
"
...
...
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