pub fn canonical_request_path(raw: &str) -> StringExpand description
Normalize a request path into the canonical form stored in
cms_page.url_path. Leading slash kept; trailing slash stripped
for non-root URLs. Empty / missing path collapses to /. Exposed
for the router’s cache-key builder.