Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data
有的时候会报这种错,这个代表的是传输文件过大,禁止传入,解决方式就是在方法体的最上面的部分,加上一行代码
ZipSecureFile.setMinInflateRatio(-1.0d);
就解决了
Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data
有的时候会报这种错,这个代表的是传输文件过大,禁止传入,解决方式就是在方法体的最上面的部分,加上一行代码
ZipSecureFile.setMinInflateRatio(-1.0d);
就解决了