Skip to content

Commit 4d12a46

Browse files
Fix bug setNotPreserveHost
Signed-off-by: davidecesarano <davide.cesarano@unipegaso.it>
1 parent a85f55b commit 4d12a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Embryo/Http/Message/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct($method, $uri, array $headers = [], StreamInterface
5757
$this->requestTarget = $this->setRequestTarget($this->uri->getPath(), $this->uri->getQuery());
5858

5959
// Http Host header
60-
$this->headers['host'] = $this->setNotPreserveHost($this->getHeaderLine('Host'), $this->uri->getHost());
60+
$this->headers['host'] = $this->setNotPreserveHost($this->uri->getHost());
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)