egirlskey/packages/backend/test
dakkar c05cc63e24 look inside url when checking activity origin - #512
The previous assertion that:

> if it's a complicated thing and the `activity.id` doesn't match, I
> think we're fine rejecting the activity

was wrong: at least peertube sends activities that have `url` as an
array of objects.

Notice that this does *not*, in fact, fix #512: the peertube activity
does not contain its short URL (`https://example.com/w/someid`), so
there's no way to confirm that it is the activity we requested.
2024-05-18 16:48:10 +01:00
..
e2e merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00
misc (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
prelude (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
resources [fix] .wav .flac ファイルを再生可能にする (#10686) 2023-04-26 02:17:58 +09:00
unit look inside url when checking activity origin - #512 2024-05-18 16:48:10 +01:00
.eslintrc.cjs なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
docker-compose.yml chore(workflows): use postgres 15 everywhere (#12726) 2023-12-21 10:29:51 +09:00
jest.setup.ts enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
tsconfig.json update deps (#11764) 2023-09-04 13:33:38 +09:00
utils.ts merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00