forked from AkkomaGang/akkoma
Oneric
d6d838cbe8
To save on bandwith and avoid OOMs with large files. Ofc, this relies on the remote server (a) sending a content-length header and (b) being honest about the size. Common fedi servers seem to provide the header and (b) at least raises the required privilege of an malicious actor to a server infrastructure admin of an explicitly allowed host. A more complete defense which still works when faced with a malicious server requires changes in upstream Finch; see https://github.com/sneako/finch/issues/224 |
||
---|---|---|
.. | ||
activity_expiration_policy_test.exs | ||
anti_followbot_policy_test.exs | ||
anti_link_spam_policy_test.exs | ||
direct_message_disabled_policy_test.exs | ||
ensure_re_prepended_test.exs | ||
force_bot_unlisted_policy_test.exs | ||
hashtag_policy_test.exs | ||
hellthread_policy_test.exs | ||
inline_quote_policy_test.exs | ||
keyword_policy_test.exs | ||
media_proxy_warming_policy_test.exs | ||
mention_policy_test.exs | ||
no_empty_policy_test.exs | ||
no_placeholder_text_policy_test.exs | ||
normalize_markup_test.exs | ||
object_age_policy_test.exs | ||
reject_newly_created_account_note_policy_test.exs | ||
reject_non_public_test.exs | ||
simple_policy_test.exs | ||
steal_emoji_policy_test.exs | ||
subchain_policy_test.exs | ||
tag_policy_test.exs | ||
user_allow_list_policy_test.exs | ||
vocabulary_policy_test.exs |