mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/15687] Force supplied filename to be correct and modify route
PHPBB3-15687
This commit is contained in:
@@ -4,9 +4,9 @@ phpbb_storage_avatar:
|
||||
_controller: storage.controller.avatar:handle
|
||||
|
||||
phpbb_storage_attachment:
|
||||
path: /attachment/{file}/{filename}
|
||||
path: /attachment/{id}/{filename}
|
||||
defaults:
|
||||
filename: ''
|
||||
_controller: storage.controller.attachment:handle
|
||||
_controller: storage.controller.attachment:handle_attachment
|
||||
requirements:
|
||||
file: \d+
|
||||
id: \d+
|
||||
|
Reference in New Issue
Block a user