mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
acme.sh does not follow Location: headers when using wget
This commit is contained in:
parent
9ace7db216
commit
63ea3e8d27
@ -185,7 +185,7 @@ _online_create_TXT_record() {
|
|||||||
# Note : the normal, expected response SHOULD be "Unknown method".
|
# Note : the normal, expected response SHOULD be "Unknown method".
|
||||||
# this happens because the API HTTP response contains a Location: header, that redirect
|
# this happens because the API HTTP response contains a Location: header, that redirect
|
||||||
# to an unknown online.net endpoint.
|
# 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
|
return 0
|
||||||
else
|
else
|
||||||
_err "error $response"
|
_err "error $response"
|
||||||
|
Loading…
Reference in New Issue
Block a user