summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-04-29 22:48:52 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-04-29 22:48:52 +0200
commita0b1ca933ee587a3594f57391b65c1e92fac3c74 (patch)
tree5f8fa559e21bd95eaee5fee94fac7be230884bac /inc/HTTPClient.php
parent537f332b5ce125d450985e1fd23e25855251a138 (diff)
parent67f6ad6b9470dc8cc4396298d366e5df008fe69d (diff)
downloadrpg-a0b1ca933ee587a3594f57391b65c1e92fac3c74.tar.gz
rpg-a0b1ca933ee587a3594f57391b65c1e92fac3c74.tar.bz2
Merge pull request #665 from alexlehm/master
Fix https proxy authentication, the header was missing a colon so that
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;