1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 11:44:08 +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
parent cd84919f1a
commit f0b70512c0
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();