Skip to main content

redact_url_credentials

Function redact_url_credentials 

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

Keeps only the URL’s scheme, host, and port, or fully redacts URLs without a host.