Bug 3235 - Extraneous double quotes inside base64-encoded From header confuse 'Reply' action
Summary: Extraneous double quotes inside base64-encoded From header confuse 'Reply' ac...
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.10.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-07-29 19:15 UTC by Michał Górny
Modified: 2014-07-30 08:22 UTC (History)
0 users

See Also:


Attachments

Description Michał Górny 2014-07-29 19:15:14 UTC
We have a person using Thunderbird whose mails carry the following header:

  From: =?UTF-8?B?IlBhd2XFgiBIYWpkYW4sIEpyLiI=?= <phajdan.jr@gentoo.org>

If you decode the base64, you'd see (with literal double quotes):

  "Paweł Hajdan, Jr."

In the message view, the header is displayed as:

  From: "Paweł Hajdan, Jr." <phajdan.jr@gentoo.org>

If I click the address, everything works fine. However, if I try to reply to him, claws-mail splits the address into two parts:

  To: ""Paweł Hajdan
  To: Jr."" <phajdan.jr@gentoo.org>

which obviously results in broken mail that gets queued and refused by server afterwards.
Comment 1 users 2014-07-30 07:32:02 UTC
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/

++ ChangeLog	2014-07-30 09:32:02.363164584 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=807f4be67d162e17f73bd400329f6751edf266f5
Merge: b7210ae 9b59699
Author: Colin Leroy <colin@colino.net>
Date:   Wed Jul 30 09:32:01 2014 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=9b59699c9ede6cedd022cced9b1afe15aca0ff22
Author: Paul <paul@claws-mail.org>
Date:   Wed Jul 30 08:31:03 2014 +0100

    fix bug 3235, 'Extraneous double quotes inside base64-encoded From header confuse 'Reply' action'

Note You need to log in before you can comment on or make changes to this bug.