diff --git a/src/AntCMS/AntRouting.php b/src/AntCMS/AntRouting.php index 0b0a21f..2d83f74 100644 --- a/src/AntCMS/AntRouting.php +++ b/src/AntCMS/AntRouting.php @@ -51,7 +51,7 @@ class AntRouting $isHttps = !empty($scheme) && (strcasecmp('on', $scheme) == 0 || strcasecmp('https', $scheme) == 0); if (!$isHttps) { - $url = 'https://' . AntTools::repairURL($this->baseUrl . '/' . $this->requestUri); + $url = 'https://' . AntTools::repairURL($this->baseUrl . $this->requestUri); header('Location: ' . $url); exit; }