[php:core,VD] fix #3119 disallow extract of uncompressed size larger than option "maxArcFilesSize"

This commit is contained in:
nao-pon
2020-02-28 00:15:46 +09:00
parent c5e30902ff
commit 55a967b94a
3 changed files with 99 additions and 18 deletions
+5 -1
View File
@@ -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 {