1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 20:24:08 +02:00

[ticket/15687] Force supplied filename to be correct and modify route

PHPBB3-15687
This commit is contained in:
Marc Alexander
2023-06-28 10:51:22 +02:00
parent 5cb0b267d3
commit 4e9cf239ed
9 changed files with 21 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ $thumbnail = $request->variable('t', false);
$response = new RedirectResponse(
$controller_helper->route('phpbb_storage_attachment', array(
'file' => $attach_id,
'id' => $attach_id,
't' => $thumbnail,
), false),
301