summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-08 18:36:30 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-08 18:36:30 +0100
commit7244b6d486b7ec38fbb350a5c4b73021030e1a72 (patch)
tree33f571fd85d1d21a569c3801ba26f282331e4319
parent6e2cd46cc456711dae0ef57694fe33ecd0167131 (diff)
parent44be16d4fbc78c14f8ea17160585ed1bec0c8722 (diff)
Merge pull request #1116 from Alkarex/nosniff
X-Content-Type-Options: nosniff
-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() {