From 4e0b18544ebc2b52fdcdda1a77a2e7f4adc45b20 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 25 Apr 2017 15:11:36 +0530 Subject: [PATCH] FIX: sane max value for max_image_size_kb & max_attachment_size_kb setting --- config/site_settings.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/site_settings.yml b/config/site_settings.yml index a7e30e26836..0b188b566fb 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -708,9 +708,11 @@ files: max_image_size_kb: client: true default: 3072 + max: 100000 max_attachment_size_kb: client: true default: 3072 + max: 1024000 max_image_megapixels: default: 40 min: 5