diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-13 12:48:16 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-04-13 12:48:16 +0200 |
commit | b04d95b1160673dbaa80ce214f22e931e8c93178 (patch) | |
tree | 7daf9d1e4667dd908ab02c646afb0d233b72f295 /lib/public/appframework | |
parent | a2a850dd91664cbfeba50186d5219d90d62eadd2 (diff) | |
download | nextcloud-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.php | 1 |
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'); } |