Sharkey/packages/backend/test/unit
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
..
misc look inside url when checking activity origin - #512 2024-05-18 16:48:10 +01:00
activitypub.ts merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00
AnnouncementService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ap-request.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ApMfmService.ts Enhance: 連合向けのノート配信を軽量化 (#13192) 2024-02-07 19:57:59 +09:00
chart.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
DriveService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
extract-mentions.ts merge: upstream 2024-02-19 10:47:42 +01:00
FetchInstanceMetadataService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
FileInfoService.ts merge: upstream 2024-02-19 10:47:42 +01:00
MetaService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
MfmService.ts merge: upstream 2024-02-19 10:47:42 +01:00
ReactionService.ts refactor(backend): ReactionService.prototype.convertLegacyReactions (#13375) 2024-02-21 14:31:50 +09:00
RelayService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RoleService.ts merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00
S3Service.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00