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
63ea3e8d
Commit
63ea3e8d
authored
Feb 15, 2019
by
Augustin-FL
Browse files
acme.sh does not follow Location: headers when using wget
parent
9ace7db2
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_online.sh
View file @
63ea3e8d
...
...
@@ -185,7 +185,7 @@ _online_create_TXT_record() {
# Note : the normal, expected response SHOULD be "Unknown method".
# this happens because the API HTTP response contains a Location: header, that redirect
# to an unknown online.net endpoint.
if
[
"
$?
"
!=
"0"
]
||
_contains
"
$response
"
"Unknown method"
;
then
if
[
"
$?
"
!=
"0"
]
||
_contains
"
$response
"
"Unknown method"
||
_contains
"
$response
"
"
\$
ref"
;
then
return
0
else
_err
"error
$response
"
...
...
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