Skip to content

Commit

Permalink
Update Lombiq.HelpfulLibraries.AspNetCore/Security/ApplicationBuilder…
Browse files Browse the repository at this point in the history
…Extensions.cs

Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
  • Loading branch information
sarahelsaig and Piedone authored Dec 28, 2023
1 parent d01ce29 commit 9633f9a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public static IApplicationBuilder UseContentSecurityPolicyHeader(this IApplicati
/// <remarks><para>
/// The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of
/// Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response
/// body to be interpreted and displayed as a content type other than the declared content type. Current (early
/// 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing
/// MIME-sniffing.
/// body to be interpreted and displayed as a content type other than the declared content type. Current (younger
/// than early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than
/// performing MIME-sniffing.
/// </para></remarks>
public static IApplicationBuilder UseContentTypeOptionsHeader(this IApplicationBuilder app) =>
app.Use(async (context, next) =>
Expand Down

0 comments on commit 9633f9a

Please sign in to comment.