summaryrefslogtreecommitdiff
path: root/src/server/activitypub.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-12-11 23:14:51 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-12-11 23:14:51 +0900
commitfe9371f06cd590d2d9960ec30be1126eee9da88f (patch)
tree1da5460c28a1edc144197d2103473f004a031c0d /src/server/activitypub.ts
parentUpdate README.md [AUTOGEN] (#5634) (diff)
downloadsharkey-fe9371f06cd590d2d9960ec30be1126eee9da88f.tar.gz
sharkey-fe9371f06cd590d2d9960ec30be1126eee9da88f.tar.bz2
sharkey-fe9371f06cd590d2d9960ec30be1126eee9da88f.zip
AP Signatureヘッダの特殊処理を削除 (#5628)
Diffstat (limited to 'src/server/activitypub.ts')
-rw-r--r--src/server/activitypub.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts
index 92e23380cb..3094d69b15 100644
--- a/src/server/activitypub.ts
+++ b/src/server/activitypub.ts
@@ -26,8 +26,6 @@ const router = new Router();
function inbox(ctx: Router.RouterContext) {
let signature;
- ctx.req.headers.authorization = `Signature ${ctx.req.headers.signature}`;
-
try {
signature = httpSignature.parseRequest(ctx.req, { 'headers': [] });
} catch (e) {