Expand description
Path validation utilities to prevent path traversal attacks
Functions§
- sanitize_
filename - Sanitize a filename to prevent issues with special characters
- validate_
config_ path - Validate and canonicalize a path to ensure it’s within allowed boundaries Handles both existing and non-existing paths for security validation