||4/19/2011 2:58:58 PM
||Incorrect parser of address containing \"
When using the Parse822_ParseMessage API to parse an email message which address fields has names containing escaped quote sequences, the values returned on the PARSE822_ADDRESS struct of the PARSE822_MESSAGE are incorrect.
For instance, if the "CC:" field of the RFC822 message contains the following addresses
CC: TJ's Sean <firstname.lastname@example.org>, "TJ\"S TOKOROA"
<email@example.com>, Tim Simondson <firstname.lastname@example.org>
Then the parsed addresses returned on the pRecipients of the PARSE822_MESSAGE are wrong.
The first item will have:
szName = TJ's Sean
szAddress = <email@example.com>
Ok, but the second item will have:
szName = NULL
szAddress = "TJ\"S TOKOROA"<firstname.lastname@example.org>, Tim Simondson <email@example.com
The problem occurrs on different flavours with names containing escaped quotes (also leading or trailing quotes) on any of the address fields (either From, To, Cc, Bcc...)
The parse822.dll is 22.214.171.124