Skip to main content

is_safe_relative

Function is_safe_relative 

Source
pub fn is_safe_relative(path: &str) -> bool
Expand description

A path is inside root after lexical normalisation: no absolute path, no .. component, nothing empty.