diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-09-24 09:31:19 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-09-24 09:31:19 +0200 |
commit | 82e1432c42fd52261e852ba59d7328759661fb5c (patch) | |
tree | 4e5ea924093c90186e78f4bdada18118140c4d54 | |
parent | d9bdb92cc1c1e77c2b43f1ca0dd4960fa122298e (diff) | |
parent | 939a27d34f022e4a6103d65f34d2337efc1ca012 (diff) | |
download | rpg-82e1432c42fd52261e852ba59d7328759661fb5c.tar.gz rpg-82e1432c42fd52261e852ba59d7328759661fb5c.tar.bz2 |
Merge branch 'master' of http://github.com/alice-wl/dokuwiki
-rw-r--r-- | inc/HTTPClient.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php index b6feba35a..71b6326ef 100644 --- a/inc/HTTPClient.php +++ b/inc/HTTPClient.php @@ -244,6 +244,7 @@ class HTTPClient { // prepare headers $headers = $this->headers; $headers['Host'] = $uri['host']; + if($uri['port']) $headers['Host'].= ':'.$uri['port']; $headers['User-Agent'] = $this->agent; $headers['Referer'] = $this->referer; $headers['Connection'] = 'Close'; |