Merge pull request #508 from skipperbent/v4-bootmanager-fix

[BUGFIX] BootManager findRoute not working.
This commit is contained in:
Simon Sessingø
2021-03-23 14:56:16 +01:00
committed by GitHub
6 changed files with 90 additions and 18 deletions
+1 -1
View File
@@ -1413,7 +1413,7 @@ class CustomRouterRules implement IRouterBootManager
// If the current url matches the rewrite url, we use our custom route
if($request->getUrl()->getPath() === $url) {
if($request->getUrl()->contains($url)) {
$request->setRewriteUrl($rule);
}
}