mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 18:23:52 -04:00
committed by
GitHub
parent
d0b9611319
commit
426e3054c2
1
p/f.php
1
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);
|
||||
|
||||
Reference in New Issue
Block a user