Merge pull request #174 from cathugger/master
srnd: message/rfc822 doesn't have charset parameter
This commit is contained in:
commit
e230c75c9b
@ -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)
|
||||||
|
Reference in New Issue
Block a user