Skip to content

Commit

Permalink
Add comment about QueryString in more places (#43179)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe authored Aug 10, 2022
1 parent 0bc9ec5 commit 579a254
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Middleware/HttpLogging/src/HttpLoggingFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,20 @@ public enum HttpLoggingFields : long
/// including <see cref="RequestPath"/>, <see cref="RequestProtocol"/>,
/// <see cref="RequestMethod"/>, and <see cref="RequestScheme"/>.
/// </summary>
/// <remarks>
/// The HTTP Request <see cref="HttpRequest.QueryString"/> is not included with this flag as it may contain private information.
/// If desired, it should be explicitly specified with <see cref="RequestQuery"/>.
/// </remarks>
RequestProperties = RequestPath | RequestProtocol | RequestMethod | RequestScheme,

/// <summary>
/// Flag for logging HTTP Request properties and headers.
/// Includes <see cref="RequestProperties"/> and <see cref="RequestHeaders"/>
/// </summary>
/// <remarks>
/// The HTTP Request <see cref="HttpRequest.QueryString"/> is not included with this flag as it may contain private information.
/// If desired, it should be explicitly specified with <see cref="RequestQuery"/>.
/// </remarks>
RequestPropertiesAndHeaders = RequestProperties | RequestHeaders,

/// <summary>
Expand Down

0 comments on commit 579a254

Please sign in to comment.