Added better handling of domains on urls.

This commit is contained in:
Simon
2023-11-27 06:53:33 +01:00
parent ed1ed43484
commit d17ee96221
2 changed files with 8 additions and 7 deletions
-4
View File
@@ -395,10 +395,6 @@ class Request
{
$this->url = $url;
if ($this->url->getHost() === null && $this->getHost() !== null) {
$this->url->setHost((string)$this->getHost());
}
if ($this->isSecure() === true) {
$this->url->setScheme('https');
}