aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-08 18:28:04 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-08 18:28:04 +0100
commit44be16d4fbc78c14f8ea17160585ed1bec0c8722 (patch)
treea84af469ab2ab43fd364ef115cbcbd9a11e0e936 /app/FreshRSS.php
parentc424c8acef45cc32187526d94e4d0bb06092de69 (diff)
X-Content-Type-Options: nosniff
https://github.com/FreshRSS/FreshRSS/issues/1114
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index d6f4f4062..bafa970da 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -122,6 +122,7 @@ class FreshRSS extends Minz_FrontController {
header("Content-Security-Policy: default-src 'self'");
break;
}
+ header("X-Content-Type-Options: nosniff");
}
private function loadNotifications() {