Skip to content

Commit dded5c2

Browse files
committed
Filter @status components
1 parent bcd7b9c commit dded5c2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/fedify/src/federation/handler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,8 @@ async function buildAcceptSignatureHeader(
17561756
}
17571757
return formatAcceptSignature([{
17581758
label: "sig1",
1759-
components: policy.components ?? DEFAULT_CHALLENGE_COMPONENTS,
1759+
components: (policy.components ?? DEFAULT_CHALLENGE_COMPONENTS)
1760+
.filter((c) => c !== "@status"),
17601761
parameters: params,
17611762
}]);
17621763
}

0 commit comments

Comments
 (0)