mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 08:54:36 +03:00
8853067830
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' |
||
---|---|---|
.. | ||
adapters | ||
api | ||
config | ||
data | ||
lib | ||
models | ||
public | ||
services | ||
translations | ||
views | ||
web | ||
analytics-events.js | ||
ghost-server.js | ||
index.js | ||
overrides.js | ||
sentry.js | ||
update-check.js |