Преглед изворни кода

Merge pull request #1116 from Alkarex/nosniff

X-Content-Type-Options: nosniff
Alexandre Alapetite пре 10 година
родитељ
комит
7244b6d486
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/FreshRSS.php

+ 1 - 0
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() {