mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
lib/suitar: reject names ending in "/." or "/.."
This commit is contained in:
1 parent
5049107b90
commit
742e8b78d9
2 files changed
+6
-3
No files matched your search
@@ -86,7 +86,8 @@ These rules apply to both file names and directory names.
|
||||
- Names must not contain the `'\x7F'` ASCII DEL byte.
|
||||
- Names must be no longer than 4095 bytes, excluding a trailing NUL.
|
||||
- Names must not be `""`, `"."` or `".."`.
|
||||
- Names must not start or end with `"/"`, `"./"` or `"../"`.
|
||||
- Names must not start with `"/"`, `"./"` or `"../"`.
|
||||
- Names must not end with `"/"`, `"/."` or `"/.."`.
|
||||
- Names must not contain `"//"`, `"/./"` or `"/../"` as substrings.
|
||||
|
||||
For example, when converting from ZIP (with Japanese file names) to SUITAR, it
|
||||
|
||||
Reference in new issue
Block a user