aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
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/public/appframework
parenta2a850dd91664cbfeba50186d5219d90d62eadd2 (diff)
downloadnextcloud-server-b04d95b1160673dbaa80ce214f22e931e8c93178.tar.gz
nextcloud-server-b04d95b1160673dbaa80ce214f22e931e8c93178.zip
Remove uneeded usages of nosniff
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/http/jsonresponse.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/public/appframework/http/jsonresponse.php b/lib/public/appframework/http/jsonresponse.php
index 6628c4514d9..6d029b7464a 100644
--- a/lib/public/appframework/http/jsonresponse.php
+++ b/lib/public/appframework/http/jsonresponse.php
@@ -49,7 +49,6 @@ class JSONResponse extends Response {
public function __construct($data=array(), $statusCode=Http::STATUS_OK) {
$this->data = $data;
$this->setStatus($statusCode);
- $this->addHeader('X-Content-Type-Options', 'nosniff');
$this->addHeader('Content-type', 'application/json; charset=utf-8');
}