Make redirects work without trailing slash

This commit is contained in:
Björn Fromme
2018-09-20 13:36:48 +02:00
parent 8640ce4276
commit 95d11d5eb0
2 changed files with 6 additions and 1 deletions
@@ -60,6 +60,10 @@ class RequestService
{
$uri = strtolower(parse_url($currentUri, \PHP_URL_PATH));
if (substr($uri, -1) !== '/') {
$uri .= '/';
}
$qb = DbUtility::getDbConnection()->createQueryBuilder();
$redirect = $qb