Ghost/core/server/services
Rishabh Garg 915d5612a1 🐛 Fixed relative image URLs becoming absolute URLs on save (#10025)
closes #10024

- Updated input serializers for posts/tags/users to handle absolute urls conversion

-------
1. Ghost stores relative images urls
2. API V2 returns images with absolute urls
3. Ghost-Admin sends absolute urls back on any save e.g. update user

**Current behavior**: This will override the relative image path in db to absolute, which in turn won't get updated in future if domain or protocol changes for e.g.
**Fix**: On save/update, input serializers converts any absolute image url paths back to relative if the base URL from image fields matches the configured URL
2018-10-18 12:18:47 +01:00
..
apps Fixed typo in: core/server/services/apps/index.js (#9673) 2018-06-11 23:19:07 +02:00
auth Added API Key auth middleware to v2 content API (#10005) 2018-10-15 16:23:34 +07:00
mail Changed http to https links 2018-08-16 12:13:24 +02:00
permissions Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
routing 🐛Fixed sitemap duplicates after routes.yaml upload (#9957) 2018-10-08 10:29:21 +07:00
rss Fixed correct promise order in RSS feed generator (#9726) 2018-09-10 11:39:38 +02:00
settings Removed api integration tests (#9940) 2018-10-06 22:13:52 +02:00
themes Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
url 🐛 Fixed relative image URLs becoming absolute URLs on save (#10025) 2018-10-18 12:18:47 +01:00
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
slack.js Changed http to https links 2018-08-16 12:13:24 +02:00
webhooks.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc.js Fixed RPC pings (#9816) 2018-08-23 15:20:29 +02:00