From 32df768d0359dbdc1a49f01cf68b9ca7633bb44c Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Thu, 9 Jul 2020 08:28:58 +0200 Subject: [PATCH] Update go-message, fixes various bugs Changelog: d262af7 (tag: v0.12.0) textproto: check header characters 5b97b1b Remove hz-gb-2312 encoding as it can crash 0e60ea0 writer: add Mime-Version header when missing c512562 textproto: add Header.Raw and HeaderFields.Raw 4af4c77 textproto: Add HeaderFields.Len f828d02 Add test converting an Entity to quoted-printable 8c6ac6b Add CreateInlineWriter to get a writer that allows alternatives, but no attachments. fee642d (tag: v0.11.2) Fix incorrect line folding of RFC2047-encoded strings 9c4415e textproto: add limits for header field length and total amount of fields 46fe03d mail: add Message-Id test with IPv6 address 6c32091 textproto: add MultipartReader tests 9ce1b6f textproto: remove unused skipSpace function a41879c mail: add tests for Header.{MessageID,MsgIDList} 82eb31c mail: add Header.MessageID and Header.MsgIDList 7e482a2 mail: add headerParser 40e7be6 textproto: minor doc improvements f119d5f readme: remove stability badge e48b6c5 mail: minor comments and docs improvements 8ade7dd textproto: add error on invalid header key --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index fb32201..1e30aba 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/emersion/go-imap v1.0.4 github.com/emersion/go-imap-idle v0.0.0-20190519112320-2704abd7050e github.com/emersion/go-maildir v0.2.0 - github.com/emersion/go-message v0.11.1 + github.com/emersion/go-message v0.12.0 github.com/emersion/go-pgpmail v0.0.0-20200303213726-db035a3a4139 github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b github.com/emersion/go-smtp v0.12.1 diff --git a/go.sum b/go.sum index 375f0f4..9bef01e 100644 --- a/go.sum +++ b/go.sum @@ -23,6 +23,8 @@ github.com/emersion/go-maildir v0.2.0 h1:fC4+UVGl8GcQGbFF7AWab2JMf4VbKz+bMNv07xx github.com/emersion/go-maildir v0.2.0/go.mod h1:I2j27lND/SRLgxROe50Vam81MSaqPFvJ0OHNnDZ7n84= github.com/emersion/go-message v0.11.1 h1:0C/S4JIXDTSfXB1vpqdimAYyK4+79fgEAMQ0dSL+Kac= github.com/emersion/go-message v0.11.1/go.mod h1:C4jnca5HOTo4bGN9YdqNQM9sITuT3Y0K6bSUw9RklvY= +github.com/emersion/go-message v0.12.0 h1:mZnv35eZ6lB6EftTQBgYXspOH0FQdhpFhSUhA9i6/Zg= +github.com/emersion/go-message v0.12.0/go.mod h1:C4jnca5HOTo4bGN9YdqNQM9sITuT3Y0K6bSUw9RklvY= github.com/emersion/go-pgpmail v0.0.0-20200303213726-db035a3a4139 h1:JTUbkRuQFtDrl5KHWR2jrh9SUeSDEEEjUcHJkXdAE2Q= github.com/emersion/go-pgpmail v0.0.0-20200303213726-db035a3a4139/go.mod h1:+Ovy1VQCUKPdjWkOiWvFoiFaWXkqn1PA793VvfEYWQU= github.com/emersion/go-sasl v0.0.0-20190817083125-240c8404624e/go.mod h1:G/dpzLu16WtQpBfQ/z3LYiYJn3ZhKSGWn83fyoyQe/k=