akkoma/lib/pleroma/web/activity_pub
Hélène 388bbc4978
EmojiReactValidator: fix emoji qualification
Tries fully-qualifying emoji when receiving them, by adding the emoji
variation sequence to the received reaction emoji.

This issue arises when other instance software, such as Misskey, tries
reacting with emoji that have unqualified or minimally qualified
variants, like a red heart. Pleroma only accepts fully qualified emoji
in emoji reactions, and refused those emoji. Now, Pleroma will attempt
to properly qualify them first, and reject them if checks still fail.

This commit contains changes to tests proposed by lanodan.

Co-authored-by: Haelwenn <contact+git.pleroma.social@hacktivis.me>
2022-07-24 13:36:06 +02:00
..
activity_pub Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mrf StealEmojiPolicy: fix String rejected_shortcodes 2022-05-18 21:25:10 +02:00
object_validator Copyright bump for 2022 2022-02-25 23:11:42 -07:00
object_validators EmojiReactValidator: fix emoji qualification 2022-07-24 13:36:06 +02:00
side_effects Copyright bump for 2022 2022-02-25 23:11:42 -07:00
views Copyright bump for 2022 2022-02-25 23:11:42 -07:00
activity_pub.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
activity_pub_controller.ex Skip cache when /objects or /activities is authenticated 2022-05-06 10:23:26 +02:00
builder.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
internal_fetch_actor.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mrf.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
object_validator.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pipeline.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
publisher.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
relay.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
side_effects.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
transmogrifier.ex Transmogrifier: Use validating regex for "mediaType" 2022-03-17 22:37:26 +01:00
utils.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
visibility.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00