Skip to content

Commit

Permalink
Socket-Proxy: Host-Header ohne Port (#5233)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Jul 18, 2022
1 parent 28c82da commit b15e2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redaxo/src/core/lib/util/socket/socket_proxy.php
Expand Up @@ -37,7 +37,7 @@ public function setDestination($host, $port = 80, $ssl = false)
$this->destinationPort = $port;
$this->destinationSsl = $ssl;

$this->addHeader('Host', $host . ':' . $port);
$this->addHeader('Host', $host);

return $this;
}
Expand Down

0 comments on commit b15e2cf

Please sign in to comment.