Skip to content
Snippets Groups Projects
Unverified Commit 122076e8 authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

Sign (request-target) Fix #6652 (#6656)

parent 7c5ac2cb
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ export default async (user: ILocalUser, url: string, object: any) => {
authorizationHeaderName: 'Signature',
key: keypair.privateKey,
keyId: `${config.url}/users/${user.id}#main-key`,
headers: ['date', 'host', 'digest']
headers: ['(request-target)', 'date', 'host', 'digest']
});
req.on('timeout', () => req.abort());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment