0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core
Hannah Wolfe 32125c2f46 Filter options passed to toJSON
fixes #5177

- we now pass API/model options directly to toJSON, which is unsafe as these options haven't always been filtered before they are passed.
- this fix adds a filter so that toJSON only uses the options it needs
- additionally, rename the 'name' option to something more specific to prevent clashes
2015-04-22 20:20:27 +01:00
..
client Avoid infinite transition loop 2015-04-16 20:05:30 +01:00
server Filter options passed to toJSON 2015-04-22 20:20:27 +01:00
shared Move showdown extensions to ghost-showdown 2015-03-17 20:18:08 +00:00
test Merge pull request #5161 from ErisDS/test-coverage 2015-04-21 19:14:35 +02:00
index.js