mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-08 23:41:45 +00:00
World4You success on 302 instead of 302 or 200
This commit is contained in:
parent
9fee0805c4
commit
2dd8527566
@ -56,7 +56,7 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
|
||||
|
||||
_ACME_CURL="$_ORIG_ACME_CURL"
|
||||
|
||||
if _ggrep '302\|200' >/dev/null <"$HTTP_HEADER"; then
|
||||
if grep '302' >/dev/null <"$HTTP_HEADER"; then
|
||||
return 0
|
||||
else
|
||||
_err "$(head -n 1 <"$HTTP_HEADER")"
|
||||
@ -115,7 +115,7 @@ DeleteDnsRecordForm[_token]=$form_token"
|
||||
|
||||
_ACME_CURL="$_ORIG_ACME_CURL"
|
||||
|
||||
if _ggrep '302\|200' >/dev/null <"$HTTP_HEADER"; then
|
||||
if grep '302' >/dev/null <"$HTTP_HEADER"; then
|
||||
return 0
|
||||
else
|
||||
_err "$(head -n 1 <"$HTTP_HEADER")"
|
||||
|
Loading…
Reference in New Issue
Block a user