error_support

Function redact_url

source
pub fn redact_url(url: &str) -> String
Expand description

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 “”.