A free, self-hostable news aggregator…
Add CSP to favicons (#7471)
Alexandre Alapetite426e3054c237
diff --git a/p/f.php b/p/f.phpindex 1bf358a3d..14ded4bca 100644--- a/p/f.php+++ b/p/f.php@@ -48,6 +48,7 @@ if ($ico_mtime == false || $ico_mtime < $txt_mtime || ($ico_mtime < time() - (mt}}+header("Content-Security-Policy: default-src 'none'; img-src 'self'; style-src 'self';");if (!httpConditional($ico_mtime, mt_rand(14, 21) * 86400, 2)) {$ico_content_type = contentType($ico);header('Content-Type: ' . $ico_content_type);