You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current ToString() overrides in HTTP-related classes (e.g., HttpContext, HttpRequest, HttpResponse) risk exposing sensitive information.
To mitigate this risk, we propose removing the overridden ToString() methods in these classes and instead utilizing the logging framework for request and response logging. Logging provides support for masking or excluding sensitive headers and information.
The text was updated successfully, but these errors were encountered:
- Removed ToString() overrides from HttpContext, HttpRequest, and HttpResponse to prevent exposure of sensitive information.
- Bump package System.Net.Http.Json in test project due to reported vulnerability
Closes#97
The current ToString() overrides in HTTP-related classes (e.g., HttpContext, HttpRequest, HttpResponse) risk exposing sensitive information.
To mitigate this risk, we propose removing the overridden ToString() methods in these classes and instead utilizing the logging framework for request and response logging. Logging provides support for masking or excluding sensitive headers and information.
The text was updated successfully, but these errors were encountered: