Compare commits

...

4 Commits

Author SHA1 Message Date
Simon Sessingø 2a2152432a Merge pull request #699 from skipperbent/v5-development
Version 5.4.1.5
2023-12-09 05:39:59 +01:00
Simon 0f55480156 Fixed rewrite-route not being executed in rare instances 2023-12-09 05:36:30 +01:00
Simon Sessingø 0b01aa9ba9 Merge pull request #698 from skipperbent/v5-development
Version 5.4.1.4
2023-11-29 01:22:27 +01:00
Simon 99ed44eb1e Fixed setHost nullable value 2023-11-29 01:20:00 +01:00
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ class Request
public function setHost(?string $host): void
{
// Strip any potential ports from hostname
if (strpos($host, ':') !== false) {
if (strpos((string)$host, ':') !== false) {
$host = strstr($host, strrchr($host, ':'), true);
}
-1
View File
@@ -562,7 +562,6 @@ class Router
if ($this->request->getRewriteRoute() !== null) {
$this->processedRoutes[] = $this->request->getRewriteRoute();
$this->request->setHasPendingRewrite(false);
}
return $this->routeRequest();