HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"しか使えない #12678
Labels
🐛Bug
Unexpected behavior
🌌Federation
The Federation/ActivityPub feature
packages/backend
Server side specific issue/PR
💡 Summary
misskey/packages/backend/src/server/ActivityPubServerService.ts
Line 144 in 272dc20
HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"を決め打ちしています。
しかし、RFC 3230 4.1.1 は:
All digest-algorithm values are case-insensitive.
としています。
🥰 Expected Behavior
HTTP Digestヘッダのアルゴリズム部分に小文字の"sha-256"(あるいはその混合)も許容する。
🤬 Actual Behavior
HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"のみを許容している。
📝 Steps to Reproduce
HTTP Digestヘッダのアルゴリズム部分に小文字の"sha-256"を使う。
💻 Frontend Environment
🛰 Backend Environment (for server admin)
No response
The text was updated successfully, but these errors were encountered: