Prior to this change, when formatting address lists without RFC-2047 encoding, the display names are quoted if and only if they contain specials that are preceded by an even number of dquotes without checking wheter the "qstrings" are terminated. This means that the two address lists
were identically formatted as " <foo@bar.com>, " <test@mail.net>.
With this change, display names are also quoted when they end in an unterminated quoted string. The second address list is now formatted as "\"" <foo@bar.com>, "\"" <test@mail.net>.
Prior to this change, when formatting address lists without RFC-2047 encoding, the display names are quoted if and only if they contain specials that are preceded by an even number of dquotes without checking wheter the "qstrings" are terminated. This means that the two address lists
were identically formatted as
" <foo@bar.com>, " <test@mail.net>
.With this change, display names are also quoted when they end in an unterminated quoted string. The second address list is now formatted as
"\"" <foo@bar.com>, "\"" <test@mail.net>
.