Skip to content

Commit

Permalink
Code styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Jan 10, 2024
1 parent 2ee9107 commit 71fe999
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ namespace Microsoft.Extensions.DependencyInjection;
/// Indicates that the action's view should have the <c>script-src: unsafe-eval</c> content security policy directive.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class ScriptUnsafeEvalAttribute : Attribute
public sealed class ScriptUnsafeEvalAttribute : Attribute
{
}


public class ScriptUnsafeEvalAttributeContentSecurityPolicyProvider : IContentSecurityPolicyProvider
{
public ValueTask UpdateAsync(IDictionary<string, string> securityPolicies, HttpContext context)
Expand Down

0 comments on commit 71fe999

Please sign in to comment.