Skip to content

Commit 9976a27

Browse files
committed
Fix handling ESI request
1 parent 02a05a0 commit 9976a27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/EventListener/RequestListener.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ public function onKernelController(FilterControllerEvent $event): void
8888
return;
8989
}
9090

91+
if (! $event->getRequest()->attributes->has('_route')) {
92+
return;
93+
}
94+
9195
$matchedRoute = $event->getRequest()->attributes->get('_route');
9296

9397
Hub::getCurrent()

0 commit comments

Comments
 (0)