aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Fix for W3C cookie logging

Open MarkPflug opened this issue 3 years ago • 1 comments

Moves the cookie logging outside of the "RequestHeaders" conditional block so that it can be logged by itself. Previously, cookie values would only be logged if one of the other request headers was also logged, otherwise it would always be logged as a missing field.

Fixes #45212

MarkPflug avatar Nov 22 '22 01:11 MarkPflug

Thanks for your PR, @MarkPflug. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

ghost avatar Nov 22 '22 01:11 ghost

This was updated in https://github.com/dotnet/aspnetcore/pull/45362, including the needed test. Thanks.

Tratcher avatar Nov 30 '22 17:11 Tratcher