Merge pull request #683 from ms-afk/bugfix-rewrite-route-executed-twice

Fixed rare double execution of rewrite routes in exception handler
This commit is contained in:
Simon Sessingø
2023-11-21 16:11:56 +01:00
committed by GitHub
+1
View File
@@ -562,6 +562,7 @@ class Router
if ($this->request->getRewriteRoute() !== null) {
$this->processedRoutes[] = $this->request->getRewriteRoute();
$this->request->setHasPendingRewrite(false);
}
return $this->routeRequest();