0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
Aileen Nowak 6e117e63fb 🐛 Fixed gscan errors not caught for corrupted zips
closes TryGhost/Support#426
refs TryGhost/gscan#106
needs TryGhost/gscan#107

GScan can return errors, which was not handled in our theme validator and caused Ghost to crash completely. GScan will now return an Ignition error when its not able to read the `.zip` file.

e. g.: `{"errors":[{"message":"Failed to read zip file","context":"tife.zip","errorType":"ValidationError","errorDetails":"invalid relative path: ../tife/"}]}`
2018-05-16 10:20:30 +08:00
..
client@5f92a9b886 Koenig - Remove developer experiments flag requirement 2018-05-15 13:20:40 +01:00
server 🐛 Fixed gscan errors not caught for corrupted zips 2018-05-16 10:20:30 +08:00
test 🐛 Fixed gscan errors not caught for corrupted zips 2018-05-16 10:20:30 +08:00
index.js