mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
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 |
||
---|---|---|
.. | ||
utils | ||
index.js | ||
invites.js | ||
mail.js | ||
notifications.js | ||
pages.js | ||
posts.js | ||
roles.js | ||
session.js | ||
settings.js | ||
slugs.js | ||
subscribers.js | ||
tags.js | ||
upload.js | ||
users.js | ||
webhooks.js |