mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-07 16:54:51 +00:00
Waded through more undocumented source
Implemented _base64 instead of base64
This commit is contained in:
parent
2b58c243b2
commit
fc627746c7
@ -25,7 +25,7 @@ dns_infoblox_add() {
|
||||
_saveaccountconf Infoblox_Server "$Infoblox_Server"
|
||||
|
||||
## Base64 encode the credentials
|
||||
Infoblox_CredsEncoded=$(echo -n "$Infoblox_Creds" | base64)
|
||||
Infoblox_CredsEncoded=$(printf "$Infoblox_Creds" | _base64)
|
||||
|
||||
## Construct the HTTP Authorization header
|
||||
export _H2="Authorization: Basic $Infoblox_CredsEncoded"
|
||||
@ -57,7 +57,7 @@ dns_infoblox_rm() {
|
||||
_debug txtvalue "$txtvalue"
|
||||
|
||||
## Base64 encode the credentials
|
||||
Infoblox_CredsEncoded=$(echo -n "$Infoblox_Creds" | base64)
|
||||
Infoblox_CredsEncoded=$(printf "$Infoblox_Creds" | _base64)
|
||||
|
||||
## Construct the HTTP Authorization header
|
||||
export _H2="Authorization: Basic $Infoblox_CredsEncoded"
|
||||
|
Loading…
x
Reference in New Issue
Block a user