0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Naz d9ddc2db6a Added extra validation for some settings of array type
refs https://github.com/TryGhost/Team/issues/754
refs a7dec233ba

- Additional validation protects from problems like the ones in refed commit from even getting through to the database.
- At the moment only used notificatons and couple more settings to ensure they are arrays when passed into the API. This is to avoid making big change in settings straight away - this is a problematic area which needs cautious approach.
- Ideally in the future the list of settings to check the "array" type (and other types) should be automatically generated based on the default-settings.json (or whatever way we define settings in the db a that moment)
- There's an ugly code-tripplication going on in this change. This is a separate topic that will be addressed once we work on API cleanup.
2021-06-28 14:26:18 +04:00
..
client@f3f04b3b57 Updated Ghost-Admin to v4.8.3 2021-06-24 13:58:36 +01:00
frontend Removed unnecessary return with typo 2021-06-23 14:20:00 +01:00
server Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
shared Added sentry config to frontend site settings for Portal (#13086) 2021-06-21 17:59:20 +05:30
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Switched to using config-url-utils in boot.js 2021-06-28 10:50:41 +01:00
bridge.js Removed i18n.js from the bridge 2021-06-28 09:51:39 +01:00