Ghost/ghost/core/test/e2e-api
Daniel Lockyer 5a8145139a Fixed handling cutoff boundary data in image + media upload
fix https://linear.app/tryghost/issue/SLO-95/unexpected-end-of-multipart-data-for-broken-image-upload-request

- in the event the client sends an invalid body to the image or media
  upload endpoints, Dicer will throw an error if the boundary data is
  malformed
- previously, we've just been bubbling that up as an InternalServerError
  and that results in an HTTP 500
- we can capture errors produced by dicer and return a handled
  BadRequestError, as it's the client's fault
- also includes breaking tests
2024-05-06 13:41:25 +02:00
..
admin Fixed handling cutoff boundary data in image + media upload 2024-05-06 13:41:25 +02:00
content 🐛 Fixed unexpected conversion of single-quoted attributes in HTML cards (#19727) 2024-03-06 09:11:49 +00:00
members Revert "Added new member signup flow behind labs flag (#19986)" (#20130) 2024-05-02 13:02:32 -07:00
members-comments Added /comments/:id/replies/ to X-Cache-Invalidate 2024-02-28 23:15:02 +00:00
shared Added portal default plan setting (#19238) 2023-12-06 11:39:58 +01:00
webmentions Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00