Skip to main content

decode_uri_component

Function decode_uri_component 

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

Undo encode_uri_component on one path segment. A segment that does not decode to UTF-8 is returned as it was written — it is somebody’s file name, and being wrong about its spelling is worse than leaving it escaped.