mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-18 11:03:05 -04:00
CSP allow iframes
E.g. for YouTube videos, etc. https://github.com/FreshRSS/FreshRSS/issues/1075
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