fn redact_query_params(line: &str) -> StringExpand description
?api_key=abc&x=1 -> ?api_key=[REDACTED]&x=1
The value ends at the first character that cannot be part of one: &
separates parameters, and whitespace/quotes mean the URL itself ended.