Fix: zip archive max uncompressed size

This commit is contained in:
Rudy Ercek
2026-09-22 02:41:44 +02:00
committed by yu-i-i
parent cd516bdc12
commit b840b6524c
@@ -15,7 +15,7 @@ import {
} from './ArchiveErrors.mjs'
import FileTypeManager from './FileTypeManager.mjs'
const MAX_UNCOMPRESSED_BYTES = 1024 * 1024 * 300 // 300MB
const MAX_UNCOMPRESSED_BYTES = 6 * Settings.maxUploadSize // 300MB (by default)
/**
* Check if a zip entry's file path is safe and return the destination path.