mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-10-30 13:33:12 +00:00
b387f4a1c1
Mastodon at the very least seems to prevent the creation of emoji with dots in their name (and refuses to accept them in federation). It feels like being cautious in what we accept is reasonable here. Colons are the emoji separator and so obviously should be blocked. Perhaps instead of filtering out things like this we should just do a regex match on `[a-zA-Z0-9_-]`? But that's plausibly a decision for another day Perhaps we should also have a centralised "is this a valid emoji shortcode?" function |
||
---|---|---|
.. | ||
activity_pub | ||
mrf | ||
object_validator | ||
object_validators | ||
side_effects | ||
views | ||
activity_pub.ex | ||
activity_pub_controller.ex | ||
builder.ex | ||
internal_fetch_actor.ex | ||
mrf.ex | ||
object_validator.ex | ||
pipeline.ex | ||
publisher.ex | ||
relay.ex | ||
side_effects.ex | ||
transmogrifier.ex | ||
utils.ex | ||
visibility.ex |