summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-02-23 09:38:03 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-02-23 09:38:03 +0100
commitadfe6dafd15d9bf52ed6212b44b02a6a32c8bf49 (patch)
tree006525b550eaa33ef14643206ed5a9ba078e555b /inc/HTTPClient.php
parent207519b77eb15e24d4358c6e7b442dcb91e0d608 (diff)
downloadrpg-adfe6dafd15d9bf52ed6212b44b02a6a32c8bf49.tar.gz
rpg-adfe6dafd15d9bf52ed6212b44b02a6a32c8bf49.tar.bz2
fixed proxy authentication in SSL tunneling
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r--inc/HTTPClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index de3a16830..53f3c9a78 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -552,7 +552,7 @@ class HTTPClient {
$request = "CONNECT {$requestinfo['host']}:{$requestinfo['port']} HTTP/1.0".HTTP_NL;
$request .= "Host: {$requestinfo['host']}".HTTP_NL;
if($this->proxy_user) {
- 'Proxy-Authorization Basic '.base64_encode($this->proxy_user.':'.$this->proxy_pass).HTTP_NL;
+ $request .= 'Proxy-Authorization Basic '.base64_encode($this->proxy_user.':'.$this->proxy_pass).HTTP_NL;
}
$request .= HTTP_NL;