Commit faf6c167 authored by Lorenz Stechauner's avatar Lorenz Stechauner
Browse files

World4You success on 302 instead of 302 or 200

parent 3d79d781
...@@ -56,7 +56,7 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke ...@@ -56,7 +56,7 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
_ACME_CURL="$_ORIG_ACME_CURL" _ACME_CURL="$_ORIG_ACME_CURL"
if _ggrep '302\|200' >/dev/null <"$HTTP_HEADER"; then if grep '302' >/dev/null <"$HTTP_HEADER"; then
return 0 return 0
else else
_err "$(head -n 1 <"$HTTP_HEADER")" _err "$(head -n 1 <"$HTTP_HEADER")"
...@@ -115,7 +115,7 @@ DeleteDnsRecordForm[_token]=$form_token" ...@@ -115,7 +115,7 @@ DeleteDnsRecordForm[_token]=$form_token"
_ACME_CURL="$_ORIG_ACME_CURL" _ACME_CURL="$_ORIG_ACME_CURL"
if _ggrep '302\|200' >/dev/null <"$HTTP_HEADER"; then if grep '302' >/dev/null <"$HTTP_HEADER"; then
return 0 return 0
else else
_err "$(head -n 1 <"$HTTP_HEADER")" _err "$(head -n 1 <"$HTTP_HEADER")"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment