mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
Fix SC2116
This commit is contained in:
parent
08be0c374a
commit
71cfd874ae
@ -233,7 +233,7 @@ _get_root() {
|
|||||||
_openprovider_request() {
|
_openprovider_request() {
|
||||||
request_xml=$1
|
request_xml=$1
|
||||||
|
|
||||||
xml_prefix=$(echo '<?xml version="1.0" encoding="UTF-8"?>')
|
xml_prefix='<?xml version="1.0" encoding="UTF-8"?>'
|
||||||
xml_content=$(printf '<openXML><credentials><username>%s</username><hash>%s</hash></credentials>%s</openXML>' "$OPENPROVIDER_USER" "$OPENPROVIDER_PASSWORDHASH" "$request_xml")
|
xml_content=$(printf '<openXML><credentials><username>%s</username><hash>%s</hash></credentials>%s</openXML>' "$OPENPROVIDER_USER" "$OPENPROVIDER_PASSWORDHASH" "$request_xml")
|
||||||
response="$(_post "$(echo "$xml_prefix$xml_content" | tr -d '\n')" "$OPENPROVIDER_API" "" "POST" "application/xml")"
|
response="$(_post "$(echo "$xml_prefix$xml_content" | tr -d '\n')" "$OPENPROVIDER_API" "" "POST" "application/xml")"
|
||||||
_debug response "$response"
|
_debug response "$response"
|
||||||
|
Loading…
Reference in New Issue
Block a user