mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-11 03:39:13 +00:00
8f140deb8f
* 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. |
||
---|---|---|
.. | ||
activity_pub | ||
admin_api | ||
api_spec | ||
auth | ||
common_api | ||
endpoint | ||
feed | ||
mastodon_api | ||
media_proxy | ||
metadata | ||
o_auth | ||
o_status | ||
pleroma_api | ||
plugs | ||
preload/providers | ||
push | ||
rich_media | ||
static_fe | ||
twitter_api | ||
views | ||
web_finger | ||
common_api_test.exs | ||
fallback_test.exs | ||
federator_test.exs | ||
gettext_test.exs | ||
manifest_controller_test.exs | ||
media_proxy_test.exs | ||
mongoose_im_controller_test.exs | ||
node_info_test.exs | ||
rel_me_test.exs | ||
shout_channel_test.exs | ||
streamer_test.exs | ||
uploader_controller_test.exs | ||
web_finger_test.exs |