mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
72d7580461
This is a pretty simple way for us to track which webmentions are sent by Ghost. Although it's easily spoofed, so are other approaches like using a header (e.g. User-Agent). If we find that this data is being spoofed we can look at different approach. Becuase our receiving implementation stores the payload of the Webmention, we'll be able to know inside Ghost which Mentions originated from another Ghost installation, which is useful for stats and gives us the possibility to display that information in the feed. Longer term we might want to consider storing this data in a separate column for Mentions, rather than the `payload` column - but that is outside the scope of this change. |
||
---|---|---|
.. | ||
utils | ||
.eslintrc.js | ||
InMemoryMentionRepository.test.js | ||
Mention.test.js | ||
MentionDiscoveryService.test.js | ||
MentionsAPI.test.js | ||
MentionSendingService.test.js |