fn escape(name: &str) -> StringExpand description
Percent-encodes what a hostname may legitimately carry and a query string
may not. A hostname is letters, digits, hyphens, dots and underscores
(_atproto), so this is a narrow guard against a caller’s typo reaching
the resolver as query syntax rather than a general encoder.