Ghost/ghost/core/test/utils
Daniel Lockyer e8e3447f15 Fixed handling empty zip file uploads
fix https://linear.app/tryghost/issue/SLO-102/end-of-central-directory-record-signature-not-found-an-unexpected

- previously, uploading an empty zip would result in a HTTP 500 error
  because yauzl would error and we'd bubble that up as an
  InternalServerError
- now, we catch the specific error message and return a more user
  friendly error
- also includes tests and sample zip file
2024-05-08 11:19:47 +02:00
..
agents
fixtures Fixed handling empty zip file uploads 2024-05-08 11:19:47 +02:00
mocks
admin-utils.js 🎨 Reduced requests and 403 responses for comments auth check (#19840) 2024-03-12 12:27:18 +00:00
api.js
assertions.js
batch-email-utils.js
configUtils.js
db-utils.js
e2e-framework-mock-manager.js
e2e-framework.js
e2e-utils.js
fixture-utils.js
index.js
mocha-retry-reporter.js
overrides.js
redirects.js
stripe-mocker.js
url-service-utils.js
urlUtils.js