|
2023-10-15
| ||
| 11:13 | • Closed ticket [c3364db38a]: Broken handling of full paths in mounted zip archive... artifact: 186b428f04 user: apnadkarni | |
| 10:33 | Fix memory leak [9525f4c8bc] and zipfs path handling [c3364db38a] and others check-in: 492fb812e9 user: apnadkarni tags: core-8-branch | |
|
2023-10-12
| ||
| 15:29 | • New ticket [c3364db38a] Broken handling of full paths in mounted zip archives</i... artifact: d21b556ac0 user: apnadkarni | |
Broken handling of full paths in mounted zip archives
Closed / Fixedc3364db38ad751a0dac710b1d34ca8fc6fb1849bCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-10-12 15:29:18
If a Zip file contains files with absolute or full paths, they show up as "hidden" paths. Best illustrated with an example. Note the inconsistency - //zipfs:/src and its descendants are not listed by zipfs find though later commands show they exist. Moreover the files are not under mount point //zipfs:/mt.
% zipfs mount ../tests/zipfiles/test-paths.zip //zipfs:/mt
% zipfs find //zipfs:/
//zipfs:/mt //zipfs:/mt/filename.txt //zipfs:/mt/src //zipfs:/mt/src/tcltk //zipfs:/mt/src/tcltk/wip //zipfs:/mt/src/tcltk/wip/tcl //zipfs:/mt/src/tcltk/wip/tcl/tests //zipfs:/mt/src/tcltk/wip/tcl/tests/zipfiles //zipfs:/mt/src/tcltk/wip/tcl/tests/zipfiles/fullpath.txt
% file exists //zipfs:/src
1
% zipfs find //zipfs:/src
//zipfs:/src/tcltk //zipfs:/src/tcltk/wip //zipfs:/src/tcltk/wip/tcl //zipfs:/src/tcltk/wip/tcl/tests //zipfs:/src/tcltk/wip/tcl/tests/zipfiles //zipfs:/src/tcltk/wip/tcl/tests/zipfiles/abspath.txt
Referenced by1
492fb812e9Fix memory leak [9525f4c8bc] and zipfs path handling [c3364db38a] and others check-in2023-10-15 10:33:02
apnadkarniplain2023-10-15 11:13:59
Fixed in [492fb812e9].
Log in (anonymous is fine) to add a comment.