Describe the bug
Header::parse removes < and > from message_id, but not from in_reply_to.
A message with Message-ID: <a@host.com> will have $message->message_id="a@host.com"
A message with In-Reply-To: <a@host.com> will have $message->in_reply_to="<a@host.com>"
As a result the two cannot be compared or used in database queries without first removing < and > from in_reply_to.
Expected behavior
message_id and in_reply_to should use the same format/parsing, so they can be used in queries and comparisons.
Describe the bug
Header::parse removes
<and>frommessage_id, but not fromin_reply_to.A message with
Message-ID: <a@host.com>will have$message->message_id="a@host.com"A message with
In-Reply-To: <a@host.com>will have$message->in_reply_to="<a@host.com>"As a result the two cannot be compared or used in database queries without first removing
<and>fromin_reply_to.Expected behavior
message_idandin_reply_toshould use the same format/parsing, so they can be used in queries and comparisons.