MFMjs will fail to parse users including dots in their ID
💡 Summary
Lately Bluesky has begun one-way federation into ActivityPub. However, unlike Misskey, Bluesky allows dots (.) in their user IDs. Since MFMjs don't expect dots in the username part of the user, mentioning those users will end up broken result.
🥰 Expected Behavior
The whole User ID (e.g. @[email protected]) will be parsed as user.
🤬 Actual Behavior
ID before dots (@example in the case above) will be parsed as user and the rest will remain as string.
📝 Steps to Reproduce
- Open any of the Misskey server (or MFM-supported site- no matters) and open note post.
- Type any mentions including dots in their username part.
- Open preview. (If you want you can just post it)
💻 Frontend Environment
- Model and OS of the device(s): Samsung Galaxy Note 20 Ultra (Korean), Android 12
- Browser: Chrome Beta 127.0.6521.0 (Official Build) dev (64-bit)
- Misskey:
- Server URL: Nekoplanet (Korean Server)
- Version: 2024.3.1+neko-rc
Related to #143
Lately Bluesky has begun one-way federation into ActivityPub
(Off-topic) Really? Haven't heard of that (unless it's third-party bridge)
(Off-topic) Really? Haven't heard of that (unless it's third-party bridge)
Yup it's bridge- but same happens here
post update summary misleading contents after fixup
Lately Bluesky has begun one-way federation into ActivityPub
(Off-topic) Really? Haven't heard of that (unless it's third-party bridge)
Thought updating the issue will make less misunderstandings, so I updated it even after it's been resolved