Ghost/core/server/services/themes
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
..
config Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
active.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
engine.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
index.js Consistent event names 2018-04-15 23:52:42 +02:00
list.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
loader.js Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
middleware.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
Storage.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
to-json.js Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
validate.js 🐛 Fixed gscan errors not caught for corrupted zips 2018-05-16 10:20:30 +08:00