implemented maxmemberkb limit for multidoc (e.g. archive) members

This commit is contained in:
Jean-Francois Dockes
2012-10-06 09:05:35 +02:00
parent 1329265b7b
commit 29fe1e4927
9 changed files with 45 additions and 18 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class RarExtractor:
if not isdir:
try:
if rarinfo.file_size > 50 * 1024 * 1024:
if rarinfo.file_size > self.em.maxmembersize:
self.em.rclog("extractone: entry %s size %d too big" %
(ipath, rarinfo.file_size))
docdata = ""