Skip to main content

decode_component_name

Function decode_component_name 

Source
pub fn decode_component_name(encoded: &str) -> String
Expand description

Reads a component name back out of a URL path segment, in the order that cannot confuse the three encodings: four dashes first, then three, then two.