mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-03 11:28:08 +08:00
Corrected encoding of Authorization:Basic line
@@ -188,7 +188,7 @@ Your HTTP method call may require additional headers for Authorization, ContentT
|
||||
...
|
||||
myusername='admin@dnsprovider.com'
|
||||
mypassword='secret_password'
|
||||
mycredentials="$("$myusername":"$mypassword")" | _base64
|
||||
mycredentials="$(printf "%s" "$MIAB_Username:$MIAB_Password" | _base64)"
|
||||
|
||||
export _H1="Authorization: Basic $mycredentials"
|
||||
export _H2="ContentType: application/json"
|
||||
|
||||
Reference in New Issue
Block a user