Taken from #20027:
Rejects directories that pretend to be files, i.e. with compressed or uncompressed sizes not equal to 0.
Rejects file names containing null bytes.
Rejects file names containing backslashes. All slashes must be forward slashes according to the spec.
Rejects file names exceeding 256 bytes.
Rejects directory traversal via file name.
Rejects directory traversal via symlink.
Rejects compressed symlinks.
Rejects symlinks that exceed 1024 bytes.
Comment #1 by bugzilla — 2019-11-20T18:05:45Z
*** Issue 18950 has been marked as a duplicate of this issue. ***
Comment #2 by dlang-bot — 2019-11-21T13:15:24Z
@berni44 created dlang/phobos pull request #7292 "Fix Issue 20290 - std.zip: file(name) and directory issues" fixing this issue:
- Fix Issue 20290 - std.zip: file(name) and directory issues
https://github.com/dlang/phobos/pull/7292
Comment #3 by robert.schadek — 2024-12-01T16:35:42Z