]> source.dussan.org Git - nextcloud-server.git/commit
Merge headers
authorLukas Reschke <lukas@owncloud.com>
Thu, 4 Dec 2014 13:45:15 +0000 (14:45 +0100)
committerLukas Reschke <lukas@owncloud.com>
Thu, 4 Dec 2014 13:45:15 +0000 (14:45 +0100)
commitdb9765b4d598c89f98d963ca302a2a516ccf2076
tree4a449abf4a83927edce0997baec2c961acd6aafa
parente9f0b3002367e34f240405051d842102e01e73c3
Merge headers

Otherwise the headers from `JSONResponse` are gone and the Content-Type of the response would be `text/html` instead of `application/json; charset=utf-8`. This leads to broken scripts since we set the `nosniff` tag, furthermore this is very bad from a security PoV.
lib/public/appframework/controller.php