[CONFIG] Add attachments/max_{width,height} config option, which is used as maximum dimensions when validating attachments

This commit is contained in:
Hugo Sales 2021-04-29 20:26:40 +00:00
parent 8ad8546aab
commit a165e533bb
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -60,6 +60,8 @@ parameters:
ssl:
attachments:
max_width: 4096
max_height: 4096
server:
ssl:
dir: "%kernel.project_dir%/file/attachments/"