Skip to main content

redact_url

Function redact_url 

Source
pub fn redact_url(input: &str) -> String
Expand description

Hide credentials embedded in a URL (https://user:token@host → https://user:***@host).