Redact the credentials a request URL carries before it appears in a log
line or an error message: the proxy secrets of redactProxyUrlSecrets(),
then every query parameter whose name ends in key, token, secret,
password, signature or auth, or is sig, whatever its case. Each
matching value becomes ***. A url parameter that holds another URL,
such as a scraping proxy's target, is redacted the same way. A URL without
such parameters, or a string that is not a URL, is returned unchanged.
Redact the credentials a request URL carries before it appears in a log line or an error message: the proxy secrets of
redactProxyUrlSecrets(), then every query parameter whose name ends inkey,token,secret,password,signatureorauth, or issig, whatever its case. Each matching value becomes***. Aurlparameter that holds another URL, such as a scraping proxy's target, is redacted the same way. A URL without such parameters, or a string that is not a URL, is returned unchanged.