Test filesFolders and paths › reserved-and-awkward-dirs.zip

Sample ZIP file (reserved and awkward dirs)

Directories named after Windows reserved devices, plus one ending in a dot and one ending in a space.

↓ Download reserved-and-awkward-dirs.zip
Filenamereserved-and-awkward-dirs.zip
FormatZIP
Size1.3 KB (1,282 bytes)
MIME typeapplication/zip
SHA-2567fab653ffe32d53a5ec3921dcc7c589e6e0a942e8f2de92cf3c7549483effb65
What this file catchesReserved names used as DIRECTORIES rather than files, which is the case most sanitisers forget, and the two do not even fail the same way. On Windows, creating a directory called CON fails outright with error 267. Creating one called NUL reports SUCCESS and creates nothing at all, so an extractor that only checks the return value believes it worked. Trailing dots and spaces are a third case: the call succeeds and Windows hands back the trimmed name, so "trailing-dot." and "trailing-dot" become one directory.

Download & verify

curl -fsSL -o "reserved-and-awkward-dirs.zip" "https://files.hexaqa.com/folder/reserved-and-awkward-dirs.zip"
curl -fsSL "https://files.hexaqa.com/folder/reserved-and-awkward-dirs.zip" | sha256sum # expect: 7fab653ffe32d53a5ec3921dcc7c589e6e0a942e8f2de92cf3c7549483effb65

More folders and paths test files

case-collision-dirs.zipdeep-path-over-260.zipempty-directory.zipexplicit-dir-entries.zipseparator-confusion.zipunicode-dir-names.zip

← All Folders and paths files