EmojiReactValidator: fix emoji qualification #111

Closed
norm wants to merge 1 commit from norm/akkoma:fix/emoji-qualification into develop
Contributor

From upstream MR: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3708

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.

From upstream MR: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3708 > 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.
norm added 1 commit 2022-07-24 19:27:56 +00:00
EmojiReactValidator: fix emoji qualification
Some checks failed
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
0906de9fda
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>

one test failure, likely from changes colliding with our own - you can likely just replace the emoji and it'll be fine(tm)

one test failure, likely from changes colliding with our own - you can likely just replace the emoji and it'll be fine(tm)
Author
Contributor

On second thought, this probably isn't necessary since ad0b8c095c added in the "unqualified" emoji as valid emoji. May just close this PR then.

On second thought, this probably isn't necessary since ad0b8c095c added in the "unqualified" emoji as valid emoji. May just close this PR then.
norm closed this pull request 2022-07-25 02:28:11 +00:00
Some checks failed
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/test Pipeline failed

Pull request closed

Sign in to join this conversation.
No description provided.