• Lukas Reschke's avatar
    Merge headers · db9765b4
    Lukas Reschke authored
    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.
    db9765b4
controller.php 6.32 KB