pleroma/lib/pleroma/web/activity_pub
Hélène bb768244a4
StealEmojiPolicy: fix String rejected_shortcodes
* rejected_shortcodes is defined as a list of strings in the
  configuration description. As such, database-based configuration was
  led to handle those settings as strings, and not as the actually
  expected type, Regex.
* This caused each message passing through this MRF, if a rejected
  shortcode was set and the emoji did not exist already on the instance,
  to fail federating, as an exception was raised, swiftly caught and
  mostly silenced.
* This commit fixes the issue by introducing new behavior: strings are
  now handled as perfect matches for an emoji shortcode (meaning that if
  the emoji-to-be-pulled's shortcode is in the blacklist, it will be
  rejected), while still supporting Regex types as before.
2022-05-26 20:06:41 +02:00
..
activity_pub Update copyright, also 2022-02-12 11:53:32 -06:00
mrf StealEmojiPolicy: fix String rejected_shortcodes 2022-05-26 20:06:41 +02:00
object_validator Update copyright, also 2022-02-12 11:53:32 -06:00
object_validators Update copyright, also 2022-02-12 11:53:32 -06:00
side_effects Update copyright, also 2022-02-12 11:53:32 -06:00
views Update copyright, also 2022-02-12 11:53:32 -06:00
activity_pub.ex Update copyright, also 2022-02-12 11:53:32 -06:00
activity_pub_controller.ex Skip cache when /objects or /activities is authenticated 2022-05-09 10:44:43 -05:00
builder.ex Update copyright, also 2022-02-12 11:53:32 -06:00
internal_fetch_actor.ex Update copyright, also 2022-02-12 11:53:32 -06:00
mrf.ex Update copyright, also 2022-02-12 11:53:32 -06:00
object_validator.ex Update copyright, also 2022-02-12 11:53:32 -06:00
pipeline.ex Update copyright, also 2022-02-12 11:53:32 -06:00
publisher.ex Update copyright, also 2022-02-12 11:53:32 -06:00
relay.ex Update copyright, also 2022-02-12 11:53:32 -06:00
side_effects.ex Update copyright, also 2022-02-12 11:53:32 -06:00
transmogrifier.ex Update copyright, also 2022-02-12 11:53:32 -06:00
utils.ex Update copyright, also 2022-02-12 11:53:32 -06:00
visibility.ex Update copyright, also 2022-02-12 11:53:32 -06:00