Expand description
File path validation and normalization.
Provides functions to validate file names safely and cross-platform, prevenindo path traversal, nomes reservados do Windows and forbidden characters.
Functionsยง
- normalize_
nfc - Normalizes a file name to Unicode NFC form.
- validate_
and_ normalize - Validates and normalizes a file name in one operation.
- validate_
name - Validates a file name (no path separators).
- validate_
no_ traversal - Validates that a path has no traversal components.