diff --git a/.github/actions/spelling/allow/security.txt b/.github/actions/spelling/allow/security.txt deleted file mode 100644 index a27c363c..00000000 --- a/.github/actions/spelling/allow/security.txt +++ /dev/null @@ -1 +0,0 @@ -clickjacking diff --git a/Lombiq.HelpfulLibraries.AspNetCore/Security/ApplicationBuilderExtensions.cs b/Lombiq.HelpfulLibraries.AspNetCore/Security/ApplicationBuilderExtensions.cs index 0cacd9a3..68f4d909 100644 --- a/Lombiq.HelpfulLibraries.AspNetCore/Security/ApplicationBuilderExtensions.cs +++ b/Lombiq.HelpfulLibraries.AspNetCore/Security/ApplicationBuilderExtensions.cs @@ -11,8 +11,8 @@ namespace Microsoft.AspNetCore.Builder; public static class ApplicationBuilderExtensions { /// - /// Adds a middleware that supplies Content-Security-Policy header. It may be further expanded by registering - /// services that implement . + /// Adds a middleware that supplies the Content-Security-Policy header. It may be further expanded by + /// registering services that implement . /// /// If then inline scripts and styles are permitted. public static IApplicationBuilder UseContentSecurityPolicyHeader(this IApplicationBuilder app, bool allowInline) => @@ -58,9 +58,9 @@ public static IApplicationBuilder UseContentSecurityPolicyHeader(this IApplicati /// /// 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. /// public static IApplicationBuilder UseContentTypeOptionsHeader(this IApplicationBuilder app) => app.Use(async (context, next) =>