aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/json.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-04-13 12:48:16 +0200
committerLukas Reschke <lukas@statuscode.ch>2014-04-13 12:48:16 +0200
commitb04d95b1160673dbaa80ce214f22e931e8c93178 (patch)
tree7daf9d1e4667dd908ab02c646afb0d233b72f295 /lib/private/json.php
parenta2a850dd91664cbfeba50186d5219d90d62eadd2 (diff)
downloadnextcloud-server-b04d95b1160673dbaa80ce214f22e931e8c93178.tar.gz
nextcloud-server-b04d95b1160673dbaa80ce214f22e931e8c93178.zip
Remove uneeded usages of nosniff
Diffstat (limited to 'lib/private/json.php')
-rw-r--r--lib/private/json.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/json.php b/lib/private/json.php
index 4ccdb490a6c..34f81c3b8cf 100644
--- a/lib/private/json.php
+++ b/lib/private/json.php
@@ -119,8 +119,6 @@ class OC_JSON{
* Encode and print $data in json format
*/
public static function encodedPrint($data, $setContentType=true) {
- // Disable mimesniffing, don't move this to setContentTypeHeader!
- header( 'X-Content-Type-Options: nosniff' );
if($setContentType) {
self::setContentTypeHeader();
}