From 3304647c3fa907e5277a58fb17f716f572a64267 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 6 May 2013 08:22:03 -0500 Subject: [PATCH] removes stray space from proxy auth header references #132 --- websocketpp/transport/asio/connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocketpp/transport/asio/connection.hpp b/websocketpp/transport/asio/connection.hpp index 6a48ba860b..7cf155bf28 100644 --- a/websocketpp/transport/asio/connection.hpp +++ b/websocketpp/transport/asio/connection.hpp @@ -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