pub fn canonical_route(path: &str) -> String
Returns the canonical identity form of a path or route template.