summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
authorAlex <alexlehm@gmail.com>2014-04-29 22:31:58 +0200
committerAlex <alexlehm@gmail.com>2014-04-29 22:31:58 +0200
commit67f6ad6b9470dc8cc4396298d366e5df008fe69d (patch)
tree5f8fa559e21bd95eaee5fee94fac7be230884bac /inc/HTTPClient.php
parent537f332b5ce125d450985e1fd23e25855251a138 (diff)
downloadrpg-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/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 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;