Ghost/ghost/core
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
..
content
core Fixed handling empty zip file uploads 2024-05-08 11:19:47 +02:00
test Fixed handling empty zip file uploads 2024-05-08 11:19:47 +02:00
.c8rc.e2e.json
.c8rc.json
.eslintignore
.eslintrc.js
.npmignore
config.development.json
ghost.js
index.js
jsconfig.json
loggingrc.js
MigratorConfig.js
monobundle.js
package.json Update dependency semver to v7.6.1 2024-05-08 09:04:44 +02:00
playwright.config.js