mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
remove cookiejar temp file
This commit is contained in:
parent
3ebbeb103c
commit
b95a99e0c2
@ -98,8 +98,6 @@ _dns_do_soap() {
|
|||||||
|
|
||||||
# set SOAP headers
|
# set SOAP headers
|
||||||
_H1="SOAPAction: ${DO_URL}#${func}"
|
_H1="SOAPAction: ${DO_URL}#${func}"
|
||||||
# add cookie header if present
|
|
||||||
[ -s "${_cookiejar}" ] && _H2="$(cat "${_cookiejar}")"
|
|
||||||
|
|
||||||
if ! response="$(_post "${_xml}" "${DO_URL}")"; then
|
if ! response="$(_post "${_xml}" "${DO_URL}")"; then
|
||||||
_err "Error <$1>"
|
_err "Error <$1>"
|
||||||
@ -108,7 +106,7 @@ _dns_do_soap() {
|
|||||||
_debug2 "SOAP response $response"
|
_debug2 "SOAP response $response"
|
||||||
|
|
||||||
# retrieve cookie header
|
# retrieve cookie header
|
||||||
_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | head -1 >"${_cookiejar}"
|
_H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | head -1)"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user