mime/quotedprintable: support message with long lines #43194
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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?
Tried to parse message which does not follow RFC to not having longer than 76 characters (has 4953 characters). Currently, quotedprintable is using bufio.Reader which fails on line longer than ~4k characters because of the bufio.Rader default limit.
What did you expect to see?
Even though it's not a message following RFC, it's better to parse it anyway as there is no reason not to support it.
What did you see instead?
Message cannot be parsed.
The text was updated successfully, but these errors were encountered: