pleroma/test
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
..
credo/check/consistency Move Consistency.FileLocation to ./test 2020-10-13 19:57:45 +02:00
fixtures Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
instance_static
mix Remove release_env 2020-11-08 11:56:09 +03:00
pleroma Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
support Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
test_helper.exs