2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core
Daniel Lockyer 8853067830 Added custom json-string format to AJV validator
no issue

- the value of `mobiledoc` when submitting a page/post via the API must
  be JSON, but we don't validate this
- this results in url-utils throwing an error, which ends up being a 500
- this commit adds a custom format to AJV to validate it is valid JSON
- also updates tests with bad JSON - 'a'
2020-04-17 11:56:20 +01:00
..
client@1a1cb22ba4 Updated Ghost-Admin to v3.13.3 2020-04-15 14:06:16 +01:00
frontend 🐛 Fixed /edit route redirect for tag taxonomies 2020-04-16 21:23:38 +12:00
server Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
shared/nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00