Summary: | Display name with invalid addresses not quoted when inserted from address book | ||||||
---|---|---|---|---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Martin Schwenke <martin> | ||||
Component: | UI/Address Book | Assignee: | users | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | minor | CC: | jdelvare | ||||
Priority: | P3 | ||||||
Version: | 3.7.6 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Martin Schwenke
2010-05-21 07:02:52 UTC
Created attachment 1306 [details]
Fix proposal
Finally I had some time to look at this and seems the attached patch fixes it.
Fixing is not at the Address Book¹ insert-time but when queuing the message. That way we're protected against potential user modification which can happen between compose-time (when the address is extracted from AB) and send-time.
Feel free to test and suggest improvements or point out mistakes ;-)
¹ Anyway AB doesn't care whether address is SMTP-correct or not.
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=bcab9673d248f075f8917f6f614eb6d2df2e8ce8 Merge: 0d57042 d07722d Author: Colin Leroy <colin@colino.net> Date: Fri Oct 25 14:21:03 2013 +0200 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=d07722d7d00132463f5a86266c22140a69aa477a Author: Ricardo Mones <ricardo@mones.org> Date: Fri Oct 25 14:09:00 2013 +0200 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 Thanks for that. I've been meaning to grab the sources so I can build and test but it has been a busy couple of weeks. :-( Given that it is now marked as fixed, I'll leave it and be sure to test when I see the fix packages for my distro... Thanks again! |