mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Fix: zip archive max uncompressed size
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user