b3er / idea-archive-browser

IntelliJ IDEA plugin that allows you to browse archives like folders is IDEA.
Apache License 2.0
40 stars 8 forks source link

Possible issue with ZIPs with non-critical warnings #32

Open Kage-Yami opened 2 years ago

Kage-Yami commented 2 years ago

Hi,

I suspect the plugin has an issue (and so refuses to open, despite the file being marked as an archive appropriately) with ZIP files that have header errors, but otherwise open and extract just fine in 7-Zip (though it does of course display a warning).

In this case, the warning is (as shown by 7-Zip):

There are some data after the end of the payload data

The full file properties as shown in 7-Zip are:
Size 69 851 264
Packed Size: 69 851 264
Folders 206
Files 2 466
CRC FBBF8843
---------------
Path C:\Program Files (x86)\Ricochet Infinity\data.dat
Type zip
Errors Headers Error
Warnings There are some data after the end of the payload data
Physical Size 70 315 592
Tail Size 18
Characteristics Local

If there's some way to still open archives with non-critical warnings, that would be awesome.

(I've confirmed that the plugin is working in general, as I have another file marked as an archive that is being opened correctly.)