Skip to content

Commit 0f55480

Browse files
committed
Fixed rewrite-route not being executed in rare instances
1 parent 99ed44e commit 0f55480

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Pecee/SimpleRouter/Router.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ protected function handleException(Exception $e): ?string
562562

563563
if ($this->request->getRewriteRoute() !== null) {
564564
$this->processedRoutes[] = $this->request->getRewriteRoute();
565-
$this->request->setHasPendingRewrite(false);
566565
}
567566

568567
return $this->routeRequest();

0 commit comments

Comments
 (0)