Ghost/ghost/core
Kevin Ansfield 281fbc973e
🐛 Fixed mobiledoc and lexical content being available via Content API
refs https://github.com/TryGhost/Product/issues/4088

The Content API should not expose the lexical/mobiledoc source content because it's not membership-gated and although not used at the present time may in future contain additional internal metadata. We were handling this for the more-typical `?formats` param but it was still possible to access this data using the `?fields` param.

- updated post mapper used in our API output serializers to strip the `mobiledoc` and `lexical` fields ready for API output
- credits to Prathap Puthran for reporting
2023-11-01 16:10:41 +01:00
..
content 🎨 Updated Source to v1.1.0 2023-10-27 15:03:15 +00:00
core 🐛 Fixed mobiledoc and lexical content being available via Content API 2023-11-01 16:10:41 +01:00
test 🐛 Fixed mobiledoc and lexical content being available via Content API 2023-11-01 16:10:41 +01:00
.c8rc.e2e.json
.c8rc.json
.eslintignore
.eslintrc.js
.npmignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
config.development.json
ghost.js
index.js
jsconfig.json
loggingrc.js
MigratorConfig.js
newrelic.js
package.json v5.71.0 2023-10-27 15:03:15 +00:00
playwright.config.js Parallelise browser tests 2023-10-13 11:42:39 +00:00