Skip to content

Commit

Permalink
EZP-21591: Fixed redirection loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Oct 21, 2013
1 parent 3738718 commit ac307bb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -154,7 +154,7 @@ public function onKernelRequestRedirect( GetResponseEvent $event )

$event->setResponse(
new RedirectResponse(
$semanticPathinfo . $queryString ? "?$queryString" : '',
$semanticPathinfo . ( $queryString ? "?$queryString" : '' ),
301
)
);
Expand Down

0 comments on commit ac307bb

Please sign in to comment.