From: Tim Düsterhus Date: Sat, 23 Nov 2013 15:28:54 +0000 (+0100) Subject: Fix support for PROXY_SERVER_HTTP X-Git-Tag: 2.0.0_RC_3~20^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0861d59e3101803b680496d678af9a7602d97006;p=GitHub%2FWoltLab%2FWCF.git Fix support for PROXY_SERVER_HTTP --- diff --git a/wcfsetup/install/files/lib/util/HTTPRequest.class.php b/wcfsetup/install/files/lib/util/HTTPRequest.class.php index 6da9d293f9..f8bc9e1850 100644 --- a/wcfsetup/install/files/lib/util/HTTPRequest.class.php +++ b/wcfsetup/install/files/lib/util/HTTPRequest.class.php @@ -202,7 +202,6 @@ final class HTTPRequest { $this->useSSL = $parsedUrl['scheme'] === 'https'; $this->host = $parsedUrl['host']; $this->port = isset($parsedUrl['port']) ? $parsedUrl['port'] : ($this->useSSL ? 443 : 80); - $this->path = isset($parsedUrl['path']) ? $parsedUrl['path'] : '/'; $this->query = isset($parsedUrl['query']) ? $parsedUrl['query'] : ''; // update the 'Host:' header if URL has changed