Camork / file-expander-plugin

A IntelliJ plugin that can explore archive-based file in project view
GNU General Public License v3.0
47 stars 8 forks source link

Can't read Gzip file without filename in metadata #35

Closed RonCruz closed 10 months ago

RonCruz commented 1 year ago

If the gzip file doesn't include the filename in the header (e.g. FNAME metadata flag), then the contents of the gzip file can't be read with this plugin. As an example, you can run the following:

echo "Test compressed data" > test.txt
gzip -c test.txt > test_with_fname.txt.gz
gzip -cn test.txt > test_without_fname.txt.gz

The plugin successfully allows you to view test_with_fname.txt.gz but not test_without_fname.txt.gz. This was observed on the version 2.3 using 2023.2.2 for the IDEs on Linux.