This commit is contained in:
Looly 2022-03-25 10:51:23 +08:00
parent 4fbbe21ac7
commit b09aad7009

View File

@ -146,6 +146,7 @@ public class ZipReader implements Closeable {
//gitee issue #I4ZDQI
String path = zipEntry.getName();
if (FileUtil.isWindows()) {
// Win系统下
path = StrUtil.replace(path, "*", "_");
}
// FileUtil.file会检查slip漏洞漏洞说明见http://blog.nsfocus.net/zip-slip-2/