diff options
author | Alex <alexlehm@gmail.com> | 2014-04-29 22:31:58 +0200 |
---|---|---|
committer | Alex <alexlehm@gmail.com> | 2014-04-29 22:31:58 +0200 |
commit | 67f6ad6b9470dc8cc4396298d366e5df008fe69d (patch) | |
tree | 5f8fa559e21bd95eaee5fee94fac7be230884bac /inc | |
parent | 537f332b5ce125d450985e1fd23e25855251a138 (diff) | |
download | rpg-67f6ad6b9470dc8cc4396298d366e5df008fe69d.tar.gz rpg-67f6ad6b9470dc8cc4396298d366e5df008fe69d.tar.bz2 |
Fix https proxy authentication, the header was missing a colon so that
the auth info was not working.
Diffstat (limited to 'inc')
-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 53f3c9a78..f8b836753 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) { - $request .= '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; |