-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In centos7.3, the folder is parsed into a file name when it is uncompressed. #81
Comments
I just made a quick fix and made a SNAPSHOT release (fix is not yet on github). |
How do I get 2.2.3-SNAPSHOT? I can't get it from maven. |
Please use this in your pom. It is also totally fine if you just use the
|
The bug is still not resolved. In version 1.3.2, it can be solved as follows:
However, the following verification has been added to the 2.x version, which makes it impossible to continue using this method `private void verifyNextEntry(ZipInputStream zipInputStream, FileHeader fileHeader) throws IOException {
}` |
With this snapshot version, do you get any error message or do you still get the output file names as |
The output file name is still "home/myzip/ziptest\test\mytest1.zip". |
Can you try with |
2.2.3.1-SNAPSHOT still has bugs. In centos7.3, the folder will not be created when decompressing. Once the multi-level directory is extracted, it will report an error: "ZipException!java.io.FileNotFoundException". For example: "net.lingala.zip4j.exception.ZipException: java.io.FileNotFoundException: home/myzip/ziptest/dir1/test.txt |
I made some more changes. Can you please try again with |
2.2.3.3-SNAPSHOT is already available in centos7.3, but it is still the last bug in win10: "net.lingala.zip4j.exception.ZipException: java.lang.IllegalArgumentException: character to be escaped is missing |
Can you please try again with |
After testing, 2.2.3.4-SNAPSHOT found no bugs in centos7.3 and win10. thanks. |
Fixed in v2.2.3 released today |
In centos7.3, the folder is parsed into a file name when it is uncompressed. For example: "home/myzip/ziptest.zip" should be extracted to "home/myzip/ziptest/test/mytest1.zip", but it is incorrectly Unzip it to "home/myzip/ziptest\test\mytest1.zip", where "ziptest\test\mytest1.zip" becomes the file name
The text was updated successfully, but these errors were encountered: