Archived
1
0

srnd: message/rfc822 doesn't have charset parameter

This commit is contained in:
cathugger 2019-01-26 15:08:12 +02:00
parent b61741fdda
commit a8695c5caf
No known key found for this signature in database
GPG Key ID: 9BADDA2DAF6F01A8

View File

@ -182,7 +182,7 @@ func signArticle(nntp NNTPMessage, seed []byte) (signed *nntpArticle, err error)
if k == "X-PubKey-Ed25519" || k == "X-Signature-Ed25519-SHA512" || k == "X-Signature-Ed25519-BLAKE2B" { if k == "X-PubKey-Ed25519" || k == "X-Signature-Ed25519-SHA512" || k == "X-Signature-Ed25519-BLAKE2B" {
// don't set signature or pubkey header // don't set signature or pubkey header
} else if k == "Content-Type" { } else if k == "Content-Type" {
signed.headers.Set(k, "message/rfc822; charset=UTF-8") signed.headers.Set(k, "message/rfc822")
} else { } else {
v := h[k][0] v := h[k][0]
signed.headers.Set(k, v) signed.headers.Set(k, v)