From a165e533bb66384a945becb203690aec08e0f59f Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Thu, 29 Apr 2021 20:26:40 +0000 Subject: [PATCH] [CONFIG] Add attachments/max_{width,height} config option, which is used as maximum dimensions when validating attachments --- social.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/social.yaml b/social.yaml index c32486a8c8..72ec123530 100644 --- a/social.yaml +++ b/social.yaml @@ -60,6 +60,8 @@ parameters: ssl: attachments: + max_width: 4096 + max_height: 4096 server: ssl: dir: "%kernel.project_dir%/file/attachments/"