egirlskey/packages/backend/test/unit/misc
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
..
check-against-url.ts look inside url when checking activity origin - #512 2024-05-18 16:48:10 +01:00
check-word-mute.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
correct-filename.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
id.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
loader.ts perf(backend): WebSocket接続が多い場合のパフォーマンスを向上 2023-10-08 08:10:28 +09:00
others.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00