1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15720] Don't escape ampersands on redirections

PHPBB3-15720
This commit is contained in:
Rubén Calvo
2018-07-10 13:17:04 +02:00
committed by Marc Alexander
parent 7c26569d93
commit 3c2e75b52a
3 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ $controller_helper = $phpbb_container->get('controller.helper');
$response = new RedirectResponse(
$controller_helper->route($redirect_route_name, array(
'id' => ($pm_id === 0) ? $post_id : $pm_id,
)),
), false),
301
);
$response->send();