Merge pull request from GHSA-qqrm-9grj-6v32
* maybe ok * fix * test wip *✌️ * fix * if (res.ok) * validateContentTypeSetAsJsonLD * 条件を考慮し直す * その他の+json接尾辞が付いているメディアタイプも受け容れる * https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009 * add `; profile="https://www.w3.org/ns/activitystreams"` * application/ld+json;
Showing
- packages/backend/src/core/HttpRequestService.ts 44 additions, 11 deletionspackages/backend/src/core/HttpRequestService.ts
- packages/backend/src/core/activitypub/ApRequestService.ts 5 additions, 1 deletionpackages/backend/src/core/activitypub/ApRequestService.ts
- packages/backend/src/core/activitypub/ApResolverService.ts 1 addition, 1 deletionpackages/backend/src/core/activitypub/ApResolverService.ts
- packages/backend/src/core/activitypub/LdSignatureService.ts 5 additions, 1 deletionpackages/backend/src/core/activitypub/LdSignatureService.ts
- packages/backend/src/core/activitypub/misc/validator.ts 39 additions, 0 deletionspackages/backend/src/core/activitypub/misc/validator.ts
- packages/backend/test/e2e/fetch-validate-ap-deny.ts 40 additions, 0 deletionspackages/backend/test/e2e/fetch-validate-ap-deny.ts
- packages/backend/test/unit/activitypub.ts 1 addition, 1 deletionpackages/backend/test/unit/activitypub.ts
- packages/backend/test/utils.ts 22 additions, 14 deletionspackages/backend/test/utils.ts
Loading
Please register or sign in to comment