replace echo with the safe_echo function

This commit is contained in:
manuel 2020-03-18 13:53:58 +01:00
parent 1a3c01899f
commit 7fffe53d0a
1 changed files with 1 additions and 1 deletions

View File

@ -19606,7 +19606,7 @@ determine_service() {
ua="$UA_SNEAKY" || \
ua="$UA_STD"
if [[ -n "$BASICAUTH" ]]; then
basicauth_header="Authorization: Basic $(echo -n "$BASICAUTH" | $OPENSSL base64 2>/dev/null)\r\n"
basicauth_header="Authorization: Basic $(safe_echo "$BASICAUTH" | $OPENSSL base64 2>/dev/null)\r\n"
fi
GET_REQ11="GET $URL_PATH HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $ua\r\n${basicauth_header}Accept-Encoding: identity\r\nAccept: text/*\r\nConnection: Close\r\n\r\n"
# returns always 0: