Fix bug #2210, but not on Address Book
authorRicardo Mones <ricardo@mones.org>
Fri, 25 Oct 2013 12:09:00 +0000 (14:09 +0200)
committerRicardo Mones <ricardo@mones.org>
Fri, 25 Oct 2013 12:09:00 +0000 (14:09 +0200)
commitd07722d7d00132463f5a86266c22140a69aa477a
treecb220d99d6d45166ecff94d47b18f866f239b67d
parenta16bc33909360086bb72908c3cc983e97ee9ebaa
Fix bug #2210, but not on Address Book

Bug report is titled 'Display name with invalid addresses not quoted
when inserted from address book', but the real problem is not the AB.

AB doesn't care about the address format or validity, the problem is
sending those addresses to the SMTP server, which, as seen in the wild¹,
might care.

Fix quotes all addresses which need quoting just before writting the
message to the queue folder.

¹http://lists.claws-mail.org/pipermail/users/2013-October/007485.html
src/compose.c