pub fn safe_relative_path(value: &str) -> Result<String>Expand description
Normalises a payload-relative path and refuses anything that could escape its root.
Returns the forward-slash form used everywhere in the format.
ยงErrors
When the value is empty, absolute, drive-qualified, contains a NUL, or holds a .. or empty
segment.