pub fn redact_url(input: &str) -> String
Hide credentials embedded in a URL (https://user:token@host → https://user:***@host).
https://user:token@host
https://user:***@host