From c2ffe00abd35007c815fbc8e9886fc64eeae6513 Mon Sep 17 00:00:00 2001 From: xPaw Date: Tue, 3 Feb 2015 16:05:18 +0200 Subject: [PATCH] Fix #37 --- Example.php | 1 + RconExample.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Example.php b/Example.php index 3d58c9c..e08b069 100644 --- a/Example.php +++ b/Example.php @@ -3,6 +3,7 @@ // For the sake of this example Header( 'Content-Type: text/plain' ); + Header( 'X-Content-Type-Options: nosniff' ); // Edit this -> define( 'SQ_SERVER_ADDR', 'localhost' ); diff --git a/RconExample.php b/RconExample.php index f7b140c..ef5170f 100644 --- a/RconExample.php +++ b/RconExample.php @@ -3,6 +3,7 @@ // For the sake of this example Header( 'Content-Type: text/plain' ); + Header( 'X-Content-Type-Options: nosniff' ); // Edit this -> define( 'SQ_SERVER_ADDR', 'localhost' );