Explorar el Código

Merge branch 'nosniff' into dev

Alexandre Alapetite hace 10 años
padre
commit
631e0fcbd0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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() {