Fix support for PROXY_SERVER_HTTP
authorTim Düsterhus <timwolla@googlemail.com>
Sat, 23 Nov 2013 15:28:54 +0000 (16:28 +0100)
committerTim Düsterhus <timwolla@googlemail.com>
Sat, 23 Nov 2013 15:28:54 +0000 (16:28 +0100)
wcfsetup/install/files/lib/util/HTTPRequest.class.php

index 6da9d293f96013908073ce90ac693a1f937536f9..f8bc9e1850b81e36bba60faf42aa9a0d33b31812 100644 (file)
@@ -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