Quellcode durchsuchen

X-Content-Type-Options: nosniff

https://github.com/FreshRSS/FreshRSS/issues/1114
Alexandre Alapetite vor 10 Jahren
Ursprung
Commit
44be16d4fb
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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() {