mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
a17c5cb148
FIX: Ensure post has correct content-type header. Exporting silverstripe-backend lets other modules (such as asset-admin) use it. In addition, the Content-type header of a post request of URL-encoded data was being set to text/plain by default, which isn’t correct and stopped PHP from interpreting it.