mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
removes stray space from proxy auth header references #132
This commit is contained in:
@@ -127,7 +127,7 @@ public:
|
||||
}
|
||||
void set_proxy_basic_auth(const std::string & u, const std::string & p) {
|
||||
if (m_proxy_data) {
|
||||
std::string val = "Basic "+base64_encode(u + ": " + p);
|
||||
std::string val = "Basic "+base64_encode(u + ":" + p);
|
||||
m_proxy_data->req.replace_header("Proxy-Authorization",val);
|
||||
} else {
|
||||
// TODO: should we throw errors with invalid stuff here or just
|
||||
|
||||
Reference in New Issue
Block a user