A Java library for zip files and streams
Improvements:
#476 & #493 Allow overriding empty files even if it is not a zip file
Bug fixes:
#484 Use getPath instead of toPath to avoid java nio #486 Set symlink as a file even if it points to directory
Security fixes:
#485 Fix CVE-2023-22899
Improvements:
Use SecureRandom instead of Random to implement a cryptographically strong random number
Bug fixes:
Fix null check Append file separator to path check only if required Fix endOfCentralDirectory location calculation when setting comment Use Path comparison over String comparison for Path traversal vulnerability Set lastModifiedFileTime for all entries and not just directories Use charset when generating AES vendor id info
Bug fixes:
#396 Use case sensitive comparison for file headers #440 Replace Windows file separator with zip separator #442 Remove file attributes check
Bug fixes:
#328 Add option to handle passwords with or without utf8 charset #333 Fix issue with reading 7Zip split files with headers not just in first split part #421 Remove clone method #428 Add close method in NumberedSplitRandomAccessFile #432 Fallback to zip standard charset if utf-8 flag is not set #433 Add directories to zip as well when symlink target is a directory #434 Use last modified file time from ZipParameters #435 Add null check when getting and applying Windows file attributes #438 Remove lines to skip reading content if entry is directory
Improvements:
#403 - Use utf-8 by default when reading zip file names #416 - Add NoCompression deflate compression level
Bug fixes:
#366 - Validate AES extra data record size #368 - Include pos in array copy length calculation #370 - Change IllegalArgumentException to ZipException #371 - Handle unexpected EOF when reading raw stream #372 - Handle unexpected EOF when reading compressed stream #373 - Fill NPE when aesKeyStrength is null #374 - Validate AES extra data record before calculating header size #375 - Throw exception when file name length is 0 #376 - Replace RunTimeException with ZipException #388 - Fix NPE in ZipParameters when file name is either null or empty #400 - Minor improvement to canonical path check #410 - Set entry size in ZipParameters to 0 by default
Improvements:
Bug fixes:
Improvements:
#324 Support JDK 7 #327 Implement close() on ZipFile
Bug Fixes:
#326 Fix compression method check in AddStreamTask
New Feature:
Improvements:
Bug fixes: