[HttpClientFactory] Don't log header values by default#106271
[HttpClientFactory] Don't log header values by default#106271CarnaViire merged 4 commits intodotnet:mainfrom
Conversation
rokonec
left a comment
There was a problem hiding this comment.
LGTM. Only concern is about performance, but I suppose in default we do not log header values so by default perf is not affected by redacting.
...nsions.Http/tests/Microsoft.Extensions.Http.Tests/Logging/RedactedLogValueIntegrationTest.cs
Outdated
Show resolved
Hide resolved
...nsions.Http/tests/Microsoft.Extensions.Http.Tests/Logging/RedactedLogValueIntegrationTest.cs
Outdated
Show resolved
Hide resolved
...nsions.Http/tests/Microsoft.Extensions.Http.Tests/Logging/RedactedLogValueIntegrationTest.cs
Outdated
Show resolved
Hide resolved
...nsions.Http/tests/Microsoft.Extensions.Http.Tests/Logging/RedactedLogValueIntegrationTest.cs
Outdated
Show resolved
Hide resolved
...nsions.Http/tests/Microsoft.Extensions.Http.Tests/Logging/RedactedLogValueIntegrationTest.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Miha Zupan <[email protected]>
@rokonec yeah, these are
@MihaZupan Yes, we should; there is some tag I need to apply here then, right? |
|
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
|
/ba-g DeadLetter Helix crash on an unrelated test run (System.Runtime.Tests on ios-arm64) |
Only affects the default case; if the sensitive headers were ever specified by
RedactLoggedHeaders, the behavior is unchanged.