mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 00:03:59 +00:00
Added better handling of domains on urls.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user