aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-02-13 17:18:21 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-02-13 17:18:21 +0100
commit75356c64a2b13a89497bd8125c1bfe79293084f9 (patch)
tree25f32d9e2ed84f3ea32c3127c1c857e6a54e2b68 /app/FreshRSS.php
parent75a802f623672dab0179d64a0e84d63d212bcd93 (diff)
Remove deprecated CSP child-src
It's been probably long enough since https://github.com/FreshRSS/FreshRSS/pull/1099
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 9371081e4..1dc80718e 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -117,7 +117,7 @@ class FreshRSS extends Minz_FrontController {
}
}, FreshRSS_Context::$user_conf->sharing));
$connectSrc = count($urlToAuthorize) ? sprintf("; connect-src 'self' %s", implode(' ', $urlToAuthorize)) : '';
- header(sprintf("Content-Security-Policy: default-src 'self'; child-src *; frame-src *; img-src * data:; media-src *%s", $connectSrc));
+ header(sprintf("Content-Security-Policy: default-src 'self'; frame-src *; img-src * data:; media-src *%s", $connectSrc));
break;
case 'stats':
header("Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'");