mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +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' |
||
---|---|---|
.. | ||
canary | ||
shared | ||
v2 | ||
v3 |