mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
1 parent
d0b9611319
commit
426e3054c2
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user