honkoma/test/pleroma/web/activity_pub
Hélène a74ce2d77a
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-18 21:25:10 +02:00
..
mrf StealEmojiPolicy: fix String rejected_shortcodes 2022-05-18 21:25:10 +02:00
object_validators Copyright bump for 2022 2022-02-25 23:11:42 -07:00
side_effects Copyright bump for 2022 2022-02-25 23:11:42 -07:00
transmogrifier 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_controller_test.exs Skip cache when /objects or /activities is authenticated 2022-05-06 10:23:26 +02:00
activity_pub_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
builder_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mrf_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pipeline_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
publisher_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
relay_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
side_effects_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
transmogrifier_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
utils_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
visibility_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00