0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/services
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
..
apps Moved default-cards app to lib/mobiledoc (#9341) 2017-12-14 14:44:01 +00:00
auth Fixed wrong status code for incorrect token requests (#9374) 2018-01-11 16:17:03 +01:00
channels Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
mail Moved social utility to lib/social 2017-12-14 22:34:05 +01:00
permissions 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
rss Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
settings 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
themes 🐛 Fixed gscan errors not caught for corrupted zips 2018-05-16 10:20:30 +08:00
url 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
slack_spec.js Used request lib in slack service (#9335) 2017-12-14 22:08:48 +07:00
webhooks_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc_spec.js Used request lib in xmlrpc (#9333) 2017-12-15 16:50:18 +07:00