Skip to content
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

Cannot view contents of 7z archives having full paths as archive entry #3440

Closed
TranceLove opened this issue Aug 20, 2022 · 2 comments · Fixed by #3981
Closed

Cannot view contents of 7z archives having full paths as archive entry #3440

TranceLove opened this issue Aug 20, 2022 · 2 comments · Fixed by #3981
Assignees
Labels
Area-Compression Related to compression and decompression feature. Issue-Bug Related unexpected behavior or something worth investigating.
Milestone

Comments

@TranceLove
Copy link
Collaborator

TranceLove commented Aug 20, 2022

Describe the bug
Amaze cannot display entries in some 7z archives using full paths as archive entry.

Attached an example archive here.
test-direct-paths.7z.zip

Archive entries as 7z l shows:

--
Path = test-direct-paths.7z
Type = 7z
Physical Size = 18175
Headers Size = 224
Method = LZMA2:23
Solid = -
Blocks = 3

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2022-08-20 12:24:06 .....         6761         6474  1/2/3/4/test.jpg
2022-08-20 12:24:07 .....         5669         5229  test.jpg
2022-08-20 12:24:08 .....         6509         6248  testdir/test.jpg
------------------- ----- ------------ ------------  ------------------------
2022-08-20 12:24:08              18939        17951  3 files

To Reproduce
Steps to reproduce the behavior:

  1. Download attached file
  2. Rename this to test-direct-paths.7z, as Github doesn't allow 7z files as attachment
  3. Open archive in Amaze
  4. Only top level test.jpg is visible

Expected behavior
Lower level entries' subpath should be visible, and can be reached using the archive explorer

Screenshots
Screenshot_20220820_123910

Smartphone (please complete the following information):

  • Device: Pixel 5 emulator
  • OS: Android 12 (SDK 31)
  • Rooted: No
  • Version: release/3.8 branch, but I think previous versions should have the same problem as well
@TranceLove TranceLove added Issue-Bug Related unexpected behavior or something worth investigating. Area-Compression Related to compression and decompression feature. labels Aug 20, 2022
@VishalNehra
Copy link
Member

What's the issue here. Can this be fixed?

@TranceLove
Copy link
Collaborator Author

@VishalNehra Should be fixable. Made a POC in the past, then someone else made a PR which was then abandoned. See if I can dig this up.

TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Oct 30, 2023
TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Oct 31, 2023
TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Nov 6, 2023
TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Nov 7, 2023
TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Nov 7, 2023
TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Nov 8, 2023
@TranceLove TranceLove self-assigned this Nov 8, 2023
TranceLove added a commit to TranceLove/AmazeFileManager that referenced this issue Nov 8, 2023
@VishalNehra VishalNehra added this to the v3.9 milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compression Related to compression and decompression feature. Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
2 participants