Skip to content

Unable to parse an address with improperly quoted phrase #668

Open
@raindrift

Description

@raindrift

When I attempt to parse an address that contains non-word characters in the phrase part, but where that part is unquoted, it fails with the following error:

 Mail::Field::ParseError:
   Mail::AddressListsParser can not parse |UCSD Electric Racing: Electronics <[email protected]>|
   Reason was: Expected one of 
   , (, ,, ; at line 1, column 67 (byte 67) after Electric Racing: Electronics <[email protected]>

I realize that an address in this format is not RFC-compliant. However, we see them in the wild regularly, and messages addressed as such seem to be delivered reliably. :(

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions