net/textproto: missing argument to printf formatting in error string #37467
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
In net/textproto there is a small error in the formatting of an error string in mustHaveFieldNameColon()
https://github.com/golang/go/blob/master/src/net/textproto/reader.go#L560
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?
I've fed some broken MIME headers into textproto.
What did you expect to see?
malformed MIME header: missing colon: SOMEHEADER
What did you see instead?
malformed MIME header: missing colon: %!q(MISSING).
The text was updated successfully, but these errors were encountered: