Ticket #4077 (closed defect: fixed)
Error "caution: filename not matched" when zip contains a file whose name begins with dash
Reported by: | no | Owned by: | andrew_b |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.26 |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
Hello. I just discovered Midnight Commander, and I love it, but I discovered a bug while browsing the contents of a zip archive. If a zip contains a file whose name begins with a dash, attempting to view that internal file displays the error "caution: filename not matched".
Example file:
echo "Hello world" > ./-file; zip archive.zip ./-file; rm ./-file
I also tested an equivalent tar archive, which did not exhibit the problem, but I did not test beyond those two formats.
Change History
comment:1 Changed 5 years ago by andrew_b
- Version changed from 4.8.22 to master
- Component changed from mc-core to mc-vfs
comment:2 Changed 4 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.26
Branch: 4077_extfs_leading_got_slash
Initial changeset:68f4cc1495dd6c8651a0d5be51e36e875d2ee955
comment:3 Changed 4 years ago by andrew_b
- Votes for changeset set to andrew_b
- Branch state changed from on review to approved
comment:4 Changed 4 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master: [191d558be8f26907aa718ee9f2d0f19ccfbe9345].
git log --pretty=oneline a2bccac62..191d558be