3e79712466
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 |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |