Skip to content

Commit 62c054a

Browse files
committed
Removed Sandbox CSP
1 parent 7c407a1 commit 62c054a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebAPI/LearningHub.Nhs.API/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
app.Use(async (context, next) =>
4242
{
43-
context.Response.Headers.Add("content-security-policy", "object-src 'none'; frame-ancestors 'none'; sandbox allow-forms allow-same-origin allow-scripts allow-popups; base-uri 'self';");
43+
context.Response.Headers.Add("content-security-policy", "object-src 'none'; frame-ancestors 'none'; base-uri 'self';");
4444
context.Response.Headers.Add("Referrer-Policy", "no-referrer");
4545
context.Response.Headers.Add("Strict-Transport-Security", "max-age=31536000; includeSubDomains");
4646
context.Response.Headers.Add("X-Content-Type-Options", "nosniff");

0 commit comments

Comments
 (0)