diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-23 09:38:03 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-23 09:38:03 +0100 |
commit | adfe6dafd15d9bf52ed6212b44b02a6a32c8bf49 (patch) | |
tree | 006525b550eaa33ef14643206ed5a9ba078e555b /inc/HTTPClient.php | |
parent | 207519b77eb15e24d4358c6e7b442dcb91e0d608 (diff) | |
download | dokuwiki-adfe6dafd15d9bf52ed6212b44b02a6a32c8bf49.tar.gz dokuwiki-adfe6dafd15d9bf52ed6212b44b02a6a32c8bf49.zip |
fixed proxy authentication in SSL tunneling
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r-- | inc/HTTPClient.php | 2 |
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; |