Added https scheme to Request::setUri (used when calling getAbsoluteUrl).

This commit is contained in:
Simon Sessingø
2021-03-30 21:13:06 +02:00
parent 40f9b72963
commit f91f280975
+4
View File
@@ -391,6 +391,10 @@ class Request
if ($this->url->getHost() === null) {
$this->url->setHost((string)$this->getHost());
}
if($this->isSecure() === true) {
$this->url->setScheme('https');
}
}
/**