sanitize

Function sanitize 

Source
fn sanitize(s: &str) -> String
Expand description

Filename sanitisation: replace path separators + spaces with _. Belt-and-braces; the wire types should already constrain these strings to URL-safe shapes, but we don’t trust the input.