mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
[ticket/15687] Add attachment filename to attachment URL
This will also fix the invalid requirements for the file parameter of the URL. PHPBB3-15687
This commit is contained in:
@@ -4,8 +4,9 @@ phpbb_storage_avatar:
|
||||
_controller: storage.controller.avatar:handle
|
||||
|
||||
phpbb_storage_attachment:
|
||||
path: /attachment/{file}
|
||||
path: /attachment/{file}/{filename}
|
||||
defaults:
|
||||
filename: ''
|
||||
_controller: storage.controller.attachment:handle
|
||||
requirements:
|
||||
id: \d+
|
||||
file: \d+
|
||||
|
Reference in New Issue
Block a user