From 467f40ce2aaba5a1f317ba91d246d599bfd9a3d2 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 31 Jan 2016 07:20:31 -0500
Subject: [PATCH] Added "X-Content-Type-Options: nosniff" header.

---
 interface/lib/config.inc.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php
index 907f372..3c534f3 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -34,6 +34,7 @@
 	header("Pragma: no-cache");
 	header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
 	header("Content-Type: text/html; charset=utf-8");
+	header('X-Content-Type-Options: nosniff');
 
 	ini_set('register_globals', 0);
 }

--
Gitblit v1.9.1