Skip to content

Inconsistent parsing of message_id and in_reply_to #197

Open
@nielspeen

Description

@nielspeen

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions