pub fn validate_rel_path(path: &str) -> Result<String, &'static str>
Normalize and validate a virtual path from the URL.
Rejects absolute paths, .. segments, NUL bytes and empty segments.
..