Skip to content

headerToBytes: encode Reply-To as an address list, not a generic header#164

Open
c-tonneslan wants to merge 1 commit into
jordan-wright:masterfrom
c-tonneslan:fix/reply-to-address-encoding
Open

headerToBytes: encode Reply-To as an address list, not a generic header#164
c-tonneslan wants to merge 1 commit into
jordan-wright:masterfrom
c-tonneslan:fix/reply-to-address-encoding

Conversation

@c-tonneslan
Copy link
Copy Markdown

Closes #147.

#132 added address-style encoding for From / To / Cc / Bcc but missed Reply-To. A Reply-To with utf-8 characters in the display name therefore ended up as a raw =?UTF-8?Q?...?= encoding of the whole line including the angle-bracketed address, instead of just the display name. Treat Reply-To the same as the other address headers.

Closes jordan-wright#147.

jordan-wright#132 added address-style encoding for From / To / Cc / Bcc but missed
Reply-To. So a Reply-To with utf-8 characters in the display name
ended up as a raw '=?UTF-8?Q?...?=' encoding of the whole line
including the angle-bracketed address, instead of just the display
name. Treat Reply-To the same as the other address headers.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect encoding for utf-8 characters in reply-to addresses

1 participant