Commit b737c6ff authored by Kevin Ditscheid's avatar Kevin Ditscheid

[BUGFIX] Fix wrong parameter assignment

parent 5850cf73
......@@ -163,7 +163,7 @@ class RedirectResolver implements MiddlewareInterface {
\mb_strtolower($uri) === \mb_strtolower($sourceUrl)
)
) {
$redirectUri = $this->getRedirectUrl($redirect, $requestParameters);
$redirectUri = $this->getRedirectUrl($redirect['destination_url'], $requestParameters);
if ($redirectUri === '') {
// the page either does not exist or isn't accessible, drop out
return GeneralUtility::makeInstance(ErrorController::class)->pageNotFoundAction(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment