Ghost/ghost/core/test
Daniel Lockyer 3e79712466 Fixed handling malformed image + media upload requests
fix https://linear.app/tryghost/issue/SLO-94/unexpected-field-when-given-broken-image-upload-request

- in the event the body of an image or media upload request is malformed
  (broken metadata / blob or something), we get a MulterError and this
  bubbles up as an InternalServerError and spits out a HTTP 500
- we can capture this and return a BadRequestError, as it's the client's
  fault for not providing the correct body
- this implements that and adds breaking tests
2024-05-06 13:24:26 +02:00
..
e2e-api Fixed handling malformed image + media upload requests 2024-05-06 13:24:26 +02:00
e2e-browser 🐛 Fixed admin error when deleting an unsaved or imported post (#20053) 2024-04-18 10:02:02 -07:00
e2e-frontend Revert "Added new member signup flow behind labs flag (#19986)" (#20130) 2024-05-02 13:02:32 -07:00
e2e-server
e2e-webhooks
integration 🐛 Fixed file card button not being linked in emails (#20023) 2024-04-16 10:37:28 +00:00
regression Updated staff deletion logic (#20069) 2024-04-25 08:19:11 -05:00
unit Added timeout when resizing an image (#20087) 2024-04-30 08:39:30 +01:00
utils
.eslintignore
.eslintrc.js