From 748239c1f639e5886e7d7ac4f7197d0af9dd52d8 Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Sun, 15 Sep 2024 16:49:45 +0100 Subject: [PATCH] Fix typos in permissions policy documentation (#182) --- .../Headers/PermissionsPolicy/PermissionsPolicyBuilder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NetEscapades.AspNetCore.SecurityHeaders/Headers/PermissionsPolicy/PermissionsPolicyBuilder.cs b/src/NetEscapades.AspNetCore.SecurityHeaders/Headers/PermissionsPolicy/PermissionsPolicyBuilder.cs index 66107a2..cbdd12e 100644 --- a/src/NetEscapades.AspNetCore.SecurityHeaders/Headers/PermissionsPolicy/PermissionsPolicyBuilder.cs +++ b/src/NetEscapades.AspNetCore.SecurityHeaders/Headers/PermissionsPolicy/PermissionsPolicyBuilder.cs @@ -361,7 +361,7 @@ public class PermissionsPolicyBuilder public XrSpatialTrackingPermissionsPolicyDirectiveBuilder AddXrSpatialTracking() => AddDirective(new XrSpatialTrackingPermissionsPolicyDirectiveBuilder()); /// - /// Create a custom Feature-Policy directive for an un-implemented directive. + /// Create a custom Permissions-Policy directive for an un-implemented directive. /// /// The directive can be built using standard methods such as /// and @@ -371,7 +371,7 @@ public class PermissionsPolicyBuilder public CustomPermissionsPolicyDirectiveBuilder AddCustomFeature(string directive) => AddDirective(new CustomPermissionsPolicyDirectiveBuilder(directive)); /// - /// Create a custom Feature-Policy directive for an un-implemented directive. + /// Create a custom Permissions-Policy directive for an un-implemented directive. /// /// The directive can be built using standard methods such as /// and @@ -388,9 +388,9 @@ private T AddDirective(T directive) where T : PermissionsPolicyDirectiveBuild } /// - /// Builds the Feature-Policy value. + /// Builds the Permissions-Policy value. /// - /// The string representing the complete Feature-Policy value. + /// The string representing the complete Permissions-Policy value. internal string Build() { return string.Join(", ", _directives.Values.Select(x => x.Build()).Where(x => !string.IsNullOrEmpty(x)));