Unverified Commit fd2dc14e authored by sergey-wowwow's avatar sergey-wowwow Committed by GitHub

Update ZipSecurity.java

Changes max diff size to prevent valid resources filtration
parent f91c5d36
...@@ -10,7 +10,7 @@ public class ZipSecurity { ...@@ -10,7 +10,7 @@ public class ZipSecurity {
private static final Logger LOG = LoggerFactory.getLogger(ZipSecurity.class); 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 // 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() {} private ZipSecurity() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment