Skip to content

Exception in Internet-headers when parsing malformed MIME headers #827

@jbescos

Description

@jbescos

Describe the bug
Jakarta Mail throws an unchecked IndexOutOfBoundsException when parsing certain malformed MIME headers. The exception originates in javax.mail.internet.InternetHeaders.addHeaderLine() and is reachable through standard message parsing APIs (MimeMessage.parse).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions