Skip to main content

redact_query_params

Function redact_query_params 

Source
pub fn redact_query_params(uri: &Uri, sensitive_params: &[&str]) -> String
Expand description

Replace sensitive query parameter values with [REDACTED].

Returns the full URI as a string with matching param values replaced.