mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-05 07:03:29 -04:00
Merge branch 'CSP-no-inline' into dev
This commit is contained in:
@@ -168,7 +168,7 @@ class FreshRSS extends Minz_FrontController {
|
||||
}
|
||||
|
||||
public static function preLayout() {
|
||||
header("Content-Security-Policy: default-src 'self'; img-src * data:; media-src *; style-src 'self' 'unsafe-inline'");
|
||||
header("Content-Security-Policy: default-src 'self'; child-src *; img-src * data:; media-src *; style-src 'self' 'unsafe-inline'");
|
||||
self::setJavascriptCookie();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user