pecl-mail-mailparse icon indicating copy to clipboard operation
pecl-mail-mailparse copied to clipboard

mailparse_rfc822_parse_addresses() does not parse Quotes (") correctly

Open eXorus opened this issue 8 years ago • 0 comments

Hello,

Example:

"Alan \"Crane\" Woke"

It should be parsed to

Alan "Crane" Woke

but it is being parsed to:

Alan \ Crane\ Woke

See RFC2822 for further information: https://www.ietf.org/rfc/rfc2822.txt (Page 41)

eXorus avatar Oct 19 '17 04:10 eXorus