mime/quotedprintable: single line with only period cause message truncation when used in SMTP DATA #61235
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Given the following example of message body,
The quotedprintable Writer will encode the message into,
If we pass the Writer output into SMTP DATA command, the server read the "\r\n.\r\n" as the end of DATA which cause the message truncated on the receiver.
Reproduceable code
What did you expect to see?
Full message received as,
What did you see instead?
Message received as,
The text was updated successfully, but these errors were encountered: