validation/path_validator_utils library

Robust file path validators (prevent traversal, normalize) — roadmap #693.

Functions

isPathSafe(String path, String root) bool
Returns true if path does not contain '..' segments that escape root.