mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[php:core,VD] fix #3119 disallow extract of uncompressed size larger than option "maxArcFilesSize"
This commit is contained in:
@@ -1144,7 +1144,11 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver
|
||||
}
|
||||
|
||||
// extract in quarantine
|
||||
$this->unpackArchive($path, $arc, $archive ? true : $dir);
|
||||
try {
|
||||
$this->unpackArchive($path, $arc, $archive ? true : $dir);
|
||||
} catch(Exception $e) {
|
||||
return $this->setError($e->getMessage());
|
||||
}
|
||||
|
||||
// get files list
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user