pub fn is_safe_relative(path: &str) -> bool
A path is inside root after lexical normalisation: no absolute path, no .. component, nothing empty.
root
..