Ticket #4238 (new defect)

Opened 4 months ago

Last modified 4 months ago

uzip doesn't properly handle zip archives with backward slashes

Reported by: birdie Owned by:
Priority: trivial Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Attachments

bug.png (13.6 KB) - added by birdie 4 months ago.
Ruler.zip (159.5 KB) - added by birdie 4 months ago.
Another such bad zip file

Change History

comment:1 Changed 4 months ago by birdie

  • Summary changed from uzip doesn't properly handle zip archive with backward slashes to uzip doesn't properly handle zip archives with backward slashes

Changed 4 months ago by birdie

comment:2 Changed 4 months ago by birdie

unzip properly unpacks this archive anyway if you run

unzip ScreenRuler-v.0.8.1-Portable.zip

MC unpacks files improperly.

Changed 4 months ago by birdie

Another such bad zip file

comment:3 follow-ups: ↓ 4 ↓ 5 Changed 4 months ago by andrew_b

MC supports UNIX-like OSes only. Therefore MC VFS supports only "/" as path separator.

comment:4 in reply to: ↑ 3 Changed 4 months ago by birdie

Replying to andrew_b:

MC supports UNIX-like OSes only. Therefore MC VFS supports only "/" as path separator.

  1. Unix-like OSes should be able to work with archives created anywhere and everywhere by any application
  2. Unix-like OSes contain Wine which is able to run Windows software which, as you can see, is sometimes distributed in "improper" zip archives

This is a valid bug report, please fix.

comment:5 in reply to: ↑ 3 Changed 4 months ago by birdie

You personally may never bother with this issue: maybe some more interested people will come and take a look.

comment:6 Changed 4 months ago by andrew_b

  • Priority changed from minor to trivial

comment:7 Changed 4 months ago by ossi

oh, c'mon andrew, stop being a dick about everything that doesn't interest you personally. first you completely demotivated psprint, and now you're essentially telling birdie to fuck off even though the issue is very real and not trivial at all for those who are affected.

Note: See TracTickets for help on using tickets.