Skip to main content

redact_url_fields

Function redact_url_fields 

Source
pub fn redact_url_fields(value: &Value) -> Value
Expand description

Redact third-party credential parameters only inside _url/_URL fields.

AFDATA deliberately uses one exact-name list for both structured fields and URL query parameters. Since afhttp does not own third-party parameter names, it applies that compatibility list to URL values first, then lets the default AFDATA redactor handle _secret fields at serialization time.