Loosen the validation regex of emoji reaction a bit #468

Closed
Ghost wants to merge 1 commits from (deleted):make-reacting-with-'blobhaj.png'-possible into develop
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.EmojiReactValidator do
import Pleroma.Web.ActivityPub.ObjectValidators.CommonValidations
@primary_key false
@emoji_regex ~r/:[A-Za-z0-9_-]+(@.+)?:/
@emoji_regex ~r/^:[^@]+(@[^@]+)?:$/
embedded_schema do
quote do