Skip to main content

redact

Function redact 

Source
pub fn redact(url: &str) -> String
Expand description

Strip userinfo from a URL for logging. libavformat taught us that the password leaks on the error path if this is not applied everywhere.