Skip to main content

redact_url_secrets

Function redact_url_secrets 

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

Redact secret components of a single URL string, using default options.

Returns url with its userinfo password and any _secret-suffixed query parameter values replaced by ***.