Redact secret query params from a proxy URL before it appears in logs or
error messages. Proxy services (Scrapfly/CrawlBase) carry the API key — and,
for Scrapfly, forwarded auth headers and request bodies — in the URL's query
string, which would otherwise leak into error/retry logs on failure. Only the
known proxy hosts and their sensitive params are touched; all other URLs are
returned unchanged.
Redact secret query params from a proxy URL before it appears in logs or error messages. Proxy services (Scrapfly/CrawlBase) carry the API key — and, for Scrapfly, forwarded auth headers and request bodies — in the URL's query string, which would otherwise leak into error/retry logs on failure. Only the known proxy hosts and their sensitive params are touched; all other URLs are returned unchanged.