Redact the sensitive query parameters of every URL in a piece of log text,
matching the names sanitizeUrl redacts. It works on the text itself
rather than parsing each URL, so URLs next to punctuation, relative and
protocol-relative paths, and URLs new URL rejects are all covered, and
everything else in the line keeps its exact wording.
Redact the sensitive query parameters of every URL in a piece of log text, matching the names
sanitizeUrlredacts. It works on the text itself rather than parsing each URL, so URLs next to punctuation, relative and protocol-relative paths, and URLsnew URLrejects are all covered, and everything else in the line keeps its exact wording.