Redacts sensitive information from a URL string, including credentials and specific query parameters.
The URL string to be redacted.
Configuration object that contain redactUrls setting.
The redacted URL string or the original string if no redaction was needed or possible.
Redacts sensitive information from a URL string, including credentials and specific query parameters.