Ver código fonte

X-Content-Type-Options: nosniff

https://github.com/FreshRSS/FreshRSS/issues/1114
Alexandre Alapetite 10 anos atrás
pai
commit
44be16d4fb
1 arquivos alterados com 1 adições e 0 exclusões
  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() {