mirror of
https://github.com/nextcloud/server.git
synced 2026-02-11 14:54:02 -05:00
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. |
||
|---|---|---|
| .. | ||
| db | ||
| http | ||
| apicontroller.php | ||
| app.php | ||
| controller.php | ||
| http.php | ||
| iapi.php | ||
| iappcontainer.php | ||
| middleware.php | ||