[][src]Function net::url::path_escape

pub fn path_escape(s: &str) -> String

path_escape escapes the string so it can be safely placed inside a URL path segment, replacing special characters (including /) with %XX sequences as needed.