Просмотр исходного кода

X-Content-Type-Options: nosniff

https://github.com/FreshRSS/FreshRSS/issues/1114
Alexandre Alapetite 10 лет назад
Родитель
Сommit
44be16d4fb
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() {