pub fn redact_url(url: &str) -> String
Redact a URL.
It’s tricky to redact an URL without revealing PII. We check for various known bad URL forms and report them, otherwise we just log “”.