Fix requestRoutePath fallback

This commit is contained in:
Chirag Aggarwal
2026-04-09 11:09:21 +05:30
parent 357d6482f9
commit bf489ce13b
+1 -1
View File
@@ -128,7 +128,7 @@ return function (Container $container): void {
$method = $method === Http::REQUEST_METHOD_HEAD ? Http::REQUEST_METHOD_GET : $method;
$route = Router::match($method, $url);
return $route?->getPath() ?? $request->getURI();
return $route?->getPath() ?? $url;
}, ['request']);
// Per-request queue resources (stateful, accumulate event data during request)