Skip to content

Inconsistent parsing of message_id and in_reply_to #197

Open
@nielspeen

Description

Describe the bug

Header::parse removes < and > from message_id, but not from in_reply_to.

A message with Message-ID: <[email protected]> will have $message->message_id="[email protected]"

A message with In-Reply-To: <[email protected]> will have $message->in_reply_to="<[email protected]>"

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

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions