On Thu, May 14, 2020 at 07:18:24AM -0700, Kevin J. McCarthy wrote:
On Thu, May 14, 2020 at 11:51:08AM +0200, Oswald Buddenhagen wrote:
i think a reasoanble heuristic would be to just accept anything as long as it's a single string with no whitespace.

Well, it's not hard to pull the '@' check out. I was just worried we might miss the real message-id if someone started generating garbage outside of a comment:
  Mesage-ID: lkjsdflk <1...@example.com>

If you all think that's unlikely, I'll just accept the first non-comment token, and for references/in-reply-to accept all the non-comment tokens.

my implied context was that this is a fallback, so the "anything" would be used only if no message-id between angle brackets is found. that requires extending the parser state machine by a flag indicating a overridable low-quality id.

Reply via email to