Skip to content

Commit

Permalink
Request query bug (#50767)
Browse files Browse the repository at this point in the history
  • Loading branch information
onurkanbakirci authored Sep 20, 2023
1 parent 8279d3f commit dedac87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private async Task InvokeInternal(HttpContext context, HttpLoggingOptions option
loggingFields = logContext.LoggingFields;

var request = context.Request;
if (logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders))
if (logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders | HttpLoggingFields.RequestQuery))
{
if (loggingFields.HasFlag(HttpLoggingFields.RequestProtocol))
{
Expand Down

0 comments on commit dedac87

Please sign in to comment.