Fixed max ZIP size

This commit is contained in:
M66B 2023-12-16 22:43:26 +01:00
parent 566ca91f0c
commit a7a4403819
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ public class MessageHelper {
static final int MAX_SUBJECT_AGE = 48; // hours
static final int DEFAULT_THREAD_RANGE = 7; // 2^7 = 128 days
static final int MAX_UNZIP_COUNT = 20;
static final long MAX_UNZIP_SIZE = 1000 * 1000 * 1000L;
static final long MAX_UNZIP_SIZE = 10 * 1024 * 1024L;
static final List<String> UNZIP_FORMATS = Collections.unmodifiableList(Arrays.asList(
"zip", "gz", "tar.gz"