pub fn validate_path_component(value: &str, label: &str) -> Result<()>
Reject path components that could escape the proposals root.
Disallows empty strings, /, \, and the .. component.
/
\
..