You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that if Message-ID (or any other header using msg-id) has more than one "@" character than parsing via parseMsgID() from header.go fails with:
missing '>' in msg-id
as it expects to consume() special chars in the fallowing order: < , @ , >
According to https://www.rfc-editor.org/rfc/rfc5322.html#section-3.6.4 having more than one @ inside the msg-id isn't standard compliant and I would recommend fixing the broken implementation instead of accepting non standard stuff in this lib here.
Hi!
I've noticed that if Message-ID (or any other header using msg-id) has more than one "@" character than parsing via
parseMsgID()
fromheader.go
fails with:missing '>' in msg-id
as it expects to
consume()
special chars in the fallowing order: < , @ , >i.e.
Message-ID: <113c01d86b4a$53bb4230$fa9e45a$@[email protected]>
I'm not sure if using two or more "@" characters in msg-id is correct but I've already seen a few of this headers in the wild.
The text was updated successfully, but these errors were encountered: