Update ZipSecurity.java

Changes max diff size to prevent valid resources filtration
This commit is contained in:
sergey-wowwow
2018-03-13 19:20:52 +03:00
committed by GitHub
parent f91c5d3647
commit fd2dc14ede
@@ -10,7 +10,7 @@ public class ZipSecurity {
private static final Logger LOG = LoggerFactory.getLogger(ZipSecurity.class);
// size of uncompressed zip entry shouldn't be bigger of compressed in MAX_SIZE_DIFF times
private static final int MAX_SIZE_DIFF = 25;
private static final int MAX_SIZE_DIFF = 100;
private ZipSecurity() {}