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
..
2020-10-13 16:43:59 +03:00
2020-11-01 12:05:39 +03:00
2020-11-04 17:12:47 +01:00
2020-11-01 12:05:39 +03:00
2020-07-17 18:06:05 +03:00
2020-10-13 16:38:19 +03:00
2020-10-13 16:44:03 +03:00
2020-09-10 16:01:19 +03:00
2020-10-13 16:38:19 +03:00
2020-10-12 12:00:50 -05:00
2020-10-13 16:44:03 +03:00
2020-10-13 16:43:59 +03:00
2020-10-13 16:42:51 +03:00
2020-10-13 16:38:19 +03:00
2020-10-13 16:38:19 +03:00
2020-05-10 09:13:24 +03:00
2020-08-24 15:01:45 +03:00
2020-10-13 16:38:19 +03:00
2020-10-13 16:38:19 +03:00
2020-08-11 22:06:33 +03:00
2020-10-12 12:00:50 -05:00
2020-05-18 15:15:51 +03:00
2020-08-31 11:02:54 +02:00
2020-08-05 15:40:32 +02:00
2020-10-13 16:38:19 +03:00
2020-09-09 10:48:18 +03:00
2020-08-24 15:01:45 +03:00
2020-10-13 16:38:19 +03:00