Skip to main content

sanitize

Function sanitize 

Source
pub fn sanitize(raw: &str) -> Option<String>
Expand description

Reduce a server-supplied string to a single safe path component, or None if nothing safe remains.