spc-pleroma/test/pleroma
rinpatch 6ca709816f Fix object spoofing vulnerability in attachments
Validate the content-type of the response when fetching an object,
according to https://www.w3.org/TR/activitypub/#x3-2-retrieving-objects.

content-type headers had to be added to many mocks in order to support
this, some of this was done with a regex. While I did go over the
resulting files to check I didn't modify anything unrelated, there is a
 possibility I missed something.

Closes pleroma#1948
2020-11-12 15:25:33 +03:00
..
activity/ir TopicsTest: Small addition. 2020-11-04 15:24:10 +01:00
bbs tests consistency 2020-10-13 16:35:09 +03:00
chat tests consistency 2020-10-13 16:35:09 +03:00
config changes after rebase 2020-10-13 17:10:34 +03:00
conversation Merge branch 'issue/2069' into 'develop' 2020-10-29 23:39:15 +00:00
docs tests consistency 2020-10-13 16:35:09 +03:00
ecto_type/activity_pub/object_validators tests consistency 2020-10-13 16:35:09 +03:00
emails AdminEmail: Use AP id as user url. 2020-11-04 17:12:47 +01:00
emoji changes after rebase 2020-10-13 17:10:34 +03:00
gun changes after rebase 2020-10-13 16:44:02 +03:00
http update files consistency after rebase 2020-10-13 16:44:00 +03:00
instances tests consistency 2020-10-13 16:35:09 +03:00
integration Merge remote-tracking branch 'upstream/develop' into restrict-domain 2020-10-13 19:26:04 -05:00
mfa tests consistency 2020-10-13 16:35:09 +03:00
migration_helper tests consistency 2020-10-13 16:35:09 +03:00
object Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
repo/migrations changes after rebase 2020-10-13 16:44:02 +03:00
upload JPEG content_type must be image/jpeg 2020-10-13 10:37:24 -05:00
uploaders JPEG content_type must be image/jpeg 2020-10-13 10:37:24 -05:00
user Fix warning 2020-10-28 15:32:44 +04:00
web Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
workers credo fix after rebase 2020-10-13 16:44:03 +03:00
activity_test.exs tests consistency 2020-10-13 16:35:09 +03:00
application_requirements_test.exs updates after rebase 2020-10-13 16:43:59 +03:00
bookmark_test.exs tests consistency 2020-10-13 16:35:09 +03:00
captcha_test.exs tests consistency 2020-10-13 16:35:09 +03:00
chat_test.exs tests consistency 2020-10-13 16:35:09 +03:00
config_db_test.exs tests consistency 2020-10-13 16:35:09 +03:00
config_test.exs tests consistency 2020-10-13 16:35:09 +03:00
conversation_test.exs tests consistency 2020-10-13 16:35:09 +03:00
earmark_renderer_test.exs tests consistency 2020-10-13 16:35:09 +03:00
emoji_test.exs tests consistency 2020-10-13 16:35:09 +03:00
filter_test.exs tests consistency 2020-10-13 16:35:09 +03:00
following_relationship_test.exs tests consistency 2020-10-13 16:35:09 +03:00
formatter_test.exs tests consistency 2020-10-13 16:35:09 +03:00
healthcheck_test.exs tests consistency 2020-10-13 16:35:09 +03:00
html_test.exs tests consistency 2020-10-13 16:35:09 +03:00
http_test.exs tests consistency 2020-10-13 16:35:09 +03:00
instances_test.exs tests consistency 2020-10-13 16:35:09 +03:00
job_queue_monitor_test.exs tests consistency 2020-10-13 16:35:09 +03:00
keys_test.exs tests consistency 2020-10-13 16:35:09 +03:00
list_test.exs tests consistency 2020-10-13 16:35:09 +03:00
marker_test.exs tests consistency 2020-10-13 16:35:09 +03:00
mfa_test.exs tests consistency 2020-10-13 16:35:09 +03:00
moderation_log_test.exs tests consistency 2020-10-13 16:35:09 +03:00
notification_test.exs Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/expire-mutes 2020-11-04 16:51:42 +01:00
object_test.exs Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
otp_version_test.exs tests consistency 2020-10-13 16:35:09 +03:00
pagination_test.exs tests consistency 2020-10-13 16:35:09 +03:00
registration_test.exs tests consistency 2020-10-13 16:35:09 +03:00
repo_test.exs tests consistency 2020-10-13 16:35:09 +03:00
report_note_test.exs changes after rebase 2020-10-13 16:44:02 +03:00
reverse_proxy_test.exs tests consistency 2020-10-13 16:35:09 +03:00
runtime_test.exs tests consistency 2020-10-13 16:35:09 +03:00
safe_jsonb_set_test.exs tests consistency 2020-10-13 16:35:09 +03:00
scheduled_activity_test.exs tests consistency 2020-10-13 16:35:09 +03:00
signature_test.exs tests consistency 2020-10-13 16:35:09 +03:00
stats_test.exs tests consistency 2020-10-13 16:35:09 +03:00
upload_test.exs JPEG content_type must be image/jpeg 2020-10-13 10:37:24 -05:00
user_invite_token_test.exs tests consistency 2020-10-13 16:35:09 +03:00
user_relationship_test.exs tests consistency 2020-10-13 16:35:09 +03:00
user_search_test.exs Merge branch 'develop' into refactor/discoverable_user_field 2020-10-13 09:54:11 -05:00
user_test.exs Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/expire-mutes 2020-11-04 16:51:42 +01:00
utils_test.exs changes after rebase 2020-10-13 17:10:34 +03:00
xml_builder_test.exs tests consistency 2020-10-13 16:35:09 +03:00