mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15687] Force supplied filename to be correct and modify route
PHPBB3-15687
This commit is contained in:
@@ -1115,7 +1115,7 @@ class acp_attachments
|
||||
'U_FILE' => $this->controller_helper->route(
|
||||
'phpbb_storage_attachment',
|
||||
[
|
||||
'file' => (int) $row['attach_id'],
|
||||
'id' => (int) $row['attach_id'],
|
||||
'filename' => $row['real_filename'],
|
||||
]
|
||||
),
|
||||
@@ -1311,7 +1311,7 @@ class acp_attachments
|
||||
'U_FILE' => $this->controller_helper->route(
|
||||
'phpbb_storage_attachment',
|
||||
[
|
||||
'file' => $row['attach_id'],
|
||||
'id' => $row['attach_id'],
|
||||
'filename' => $row['real_filename'],
|
||||
]
|
||||
)
|
||||
|
@@ -2309,7 +2309,7 @@ class acp_users
|
||||
'U_DOWNLOAD' => $controller_helper->route(
|
||||
'phpbb_storage_attachment',
|
||||
[
|
||||
'file' => (int) $row['attach_id'],
|
||||
'id' => (int) $row['attach_id'],
|
||||
'filename' => $row['real_filename'],
|
||||
]
|
||||
),
|
||||
|
Reference in New Issue
Block a user