pub fn has_path_traversal(path: &str) -> bool
Checks if a path contains potential traversal sequences.