fix(backend): HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"しか使えない

Fix #12678
This commit is contained in:
syuilo 2023-12-16 10:58:44 +09:00
parent 3e256eee2c
commit 9f49b9f4d2
2 changed files with 2 additions and 1 deletions

View file

@ -138,7 +138,7 @@ export class ActivityPubServerService {
return;
}
const algo = match[1];
const algo = match[1].toUpperCase();
const digestValue = match[2];
if (algo !== 'SHA-256') {