Fix Content-Security-Policy header.

This commit is contained in:
cypherbits
2020-05-03 15:08:30 +02:00
parent 0f3a04b4de
commit 0f97ddd573

View File

@ -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: referrer never');
header("Content-Security-Policy: default-src 'self'; img-src *; media-src *; script-src 'self'; style-src *");
header('X-Content-Type-Options: nosniff');
header('X-Frame-Options: sameorigin');
header('X-XSS-Protection: 1; mode=block');