From 5aeca202ca0e2c5232bc3e198791f598d2767a1a Mon Sep 17 00:00:00 2001 From: cypherbits Date: Sun, 3 May 2020 17:41:56 +0200 Subject: [PATCH] fix --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index 4db7bb3..6ff482c 100644 --- a/chat.php +++ b/chat.php @@ -3285,7 +3285,7 @@ function send_headers(){ header('Cache-Control: no-cache, no-store, must-revalidate, max-age=0'); header('Expires: 0'); header('Referrer-Policy: no-referrer'); - header("Content-Security-Policy: default-src 'self'; img-src *; media-src *; script-src 'self'; style-src *"); + header("Content-Security-Policy: default-src 'self'; img-src *; media-src *; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'"); header('X-Content-Type-Options: nosniff'); header('X-Frame-Options: sameorigin'); header('X-XSS-Protection: 1; mode=block');