diff --git a/eZ/Bundle/EzPublishCoreBundle/EventListener/SiteAccessListener.php b/eZ/Bundle/EzPublishCoreBundle/EventListener/SiteAccessListener.php index 966e0b5f2f8..2969d751351 100644 --- a/eZ/Bundle/EzPublishCoreBundle/EventListener/SiteAccessListener.php +++ b/eZ/Bundle/EzPublishCoreBundle/EventListener/SiteAccessListener.php @@ -111,7 +111,10 @@ public function onSiteAccessMatch(PostSiteAccessMatchEvent $event) private function getViewParameters($pathinfo) { // No view parameters, get out of here. - if (($vpStart = strpos($pathinfo, '/(')) === false) { + if ( + strpos($pathinfo, ')/') === false + || ($vpStart = strpos($pathinfo, '/(')) === false + ) { return [$pathinfo, [], '']; }