6.0.0-beta1
8/15/25

[#14505] IMP is not encoding properly destination address name using utf8 and comma
Summary IMP is not encoding properly destination address name using utf8 and comma
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester ibon.igartua (at) ehu (dot) eus
Created 11/09/2016 (3201 days ago)
Due
Updated 11/10/2016 (3200 days ago)
Assigned 11/09/2016 (3201 days ago)
Resolved 11/09/2016 (3201 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/10/2016 02:50:44 PM ibon (dot) igartua (at) ehu (dot) eus Comment #5 Reply to this comment
Bug is in Horde_Mime.
Upgraded and tested in our installation. Works fine!
thanks

11/09/2016 08:56:37 PM Michael Rubinsky Comment #4
Version ⇒
Queue ⇒ Horde Framework Packages
Reply to this comment
Bug is in Horde_Mime.
11/09/2016 08:56:16 PM Michael Rubinsky Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
 
11/09/2016 08:53:20 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 08bf825dcd06055a35c5da40e7bda83727815e54
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Nov 9 15:50:59 2016 -0500

     Add test for Bug: 14505  using correctly encoded atom.

  framework/Mime/test/Horde/Mime/HeadersTest.php | 5 +++++
  1 file changed, 5 insertions(+)

http://github.com/horde/horde/commit/08bf825dcd06055a35c5da40e7bda83727815e54
11/09/2016 03:02:14 PM Michael Rubinsky Comment #2
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Assigned to Michael Rubinsky
Reply to this comment
Confirmed.
11/09/2016 08:55:34 AM ibon (dot) igartua (at) ehu (dot) eus Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMP is not encoding properly destination address name using utf8 and comma
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I'm using Horde Groupware Webmail Edition 5.2.16 (IMP  6.2.16)

The bug could be recreated as follows:

I write a New Message
To: "Firstname SecondWithÑ, Third" <correct.email@host.com>
Cc: <myemail@host.com>
Subject & Message: any
I Send the message

Note: the text label for the address has a comma inside. This is quite 
usual here formatting a display name as "Surname 2ndSurname, FirstName"

I look at the headers created for the destination addresses and I 
realize that IMP has removed the "quotation marks"
To: Firstname =?utf-8?b?U2Vjb25kw5Es?= Third <correct.email@host.com>
Cc: <myemail@host.com>

I receive the message properly at <myemail@host.com>
But when I try to "Reply To All", IMP divides the address in two parts:
"Firstname SecondWithÑ" and "Third" <correct.email@host.com>

When I send the replied message I get a SMTP error

Saved Queries