pub fn redact(url: &Url) -> String
Strip userinfo and query before a URL can reach a log line (PRD §36).