Ensure trailing slash in static search result uris
This commit is contained in:
@@ -55,6 +55,9 @@ class StaticSearchParamsMiddleware implements MiddlewareInterface
|
|||||||
return $handler->handle($request);
|
return $handler->handle($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure trailing slash for comparison
|
||||||
|
$uri = rtrim($uri, '/') . '/';
|
||||||
|
|
||||||
$qb = $this->getDbConnection()->createQueryBuilder();
|
$qb = $this->getDbConnection()->createQueryBuilder();
|
||||||
|
|
||||||
$query = $qb
|
$query = $qb
|
||||||
|
|||||||
Reference in New Issue
Block a user