mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 02:22:26 -05:00
[bugfix] add stricter checks during all stages of dereferencing remote AS objects (#2639)
* add stricter checks during all stages of dereferencing remote AS objects * a comment
This commit is contained in:
parent
142b7ec54f
commit
2bafd7daf5
15 changed files with 345 additions and 162 deletions
|
|
@ -107,6 +107,9 @@ var Start action.GTSAction = func(ctx context.Context) error {
|
|||
return &http.Response{
|
||||
StatusCode: 200,
|
||||
Body: r,
|
||||
Header: http.Header{
|
||||
"Content-Type": req.Header.Values("Accept"),
|
||||
},
|
||||
}, nil
|
||||
}, ""))
|
||||
mediaManager := testrig.NewTestMediaManager(&state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue