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...
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.10.1
Hardware: PC Linux
: P3 normal
Assignee: users
Depends on:
Reported: 2014-07-29 21:15 CEST by Michał Górny
Modified: 2014-07-30 10:22 CEST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny 2014-07-29 21:15:14 CEST
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 09:32:02 CEST
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:

++ ChangeLog	2014-07-30 09:32:02.363164584 +0200
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

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'