pub fn decode_component_name(encoded: &str) -> String
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.