[#14476] IMP reply split name with comma and missing quotation mark?
Summary IMP reply split name with comma and missing quotation mark?
Queue IMP
Queue Version 6.2.16
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester samuel.wolf@wolf-maschinenbau.de
Created 2016-09-21 (1089 days ago)
Due
Updated 2016-09-23 (1087 days ago)
Assigned 2016-09-21 (1089 days ago)
Resolved 2016-09-23 (1087 days ago)
Milestone
Patch No

Comments
samuel.wolf@wolf-maschinenbau.de 2016-09-21 14:37:49
If i reply to a email with a sender name containing a comma (UTF-8 
encode) IMP split the name. Only the second name (red mark) contain 
the right email adresse, the first name is empty/only the name.

Issue is maybe the missing quotation mark?

Michael Rubinsky <mrubinsk@horde.org> 2016-09-21 14:48:55
Do you have an up-to-date Horde_Mime package? This sounds like Bug: 14456

samuel.wolf@wolf-maschinenbau.de 2016-09-21 14:51:35
> Do you have an up-to-date Horde_Mime package? This sounds like Bug: 14456

pear list -c horde | grep Mime
Horde_Mime                 2.10.1  stable
Horde_Mime_Viewer          2.2.1   stable

php5-dev                          5.6.24+dfsg-0+deb8u1

Jan Schneider <jan@horde.org> 2016-09-21 16:05:53
Not reproducible on demo.horde.org either. Can you provide an example message?

samuel.wolf@wolf-maschinenbau.de 2016-09-21 17:03:48
> Not reproducible on demo.horde.org either. Can you provide an 
> example message?
Not this one, but I try to generate such a mail with php mail.

samuel.wolf@wolf-maschinenbau.de 2016-09-21 17:42:05
This doesn't help really, or?
From: =?utf-8?B?xxxxxxxxx?= <user@example.com>

Is it possible to convert the utf-8 sender name on the horde cli?

samuel.wolf@wolf-maschinenbau.de 2016-09-21 18:50:37
In all this example [1] is a quotation mark if the name contains a comma.

[1] 
https://github.com/horde/horde/commit/9cf5454ce4517426b6b612562caf118721fe5390

Michael Rubinsky <mrubinsk@horde.org> 2016-09-23 15:31:34
> In all this example [1] is a quotation mark if the name contains a comma.

Correct, quotations are required in that case.


Michael Rubinsky <mrubinsk@horde.org> 2016-09-23 15:35:41
> This doesn't help really, or?
> From: =?utf-8?B?xxxxxxxxx?= <user@example.com>
>
> Is it possible to convert the utf-8 sender name on the horde cli?

echo Horde_Mime::decode('?utf-8?B?xxxxxxxxx?= <user@example.com>');

and to do the reverse:

echo Horde_Mime::encode('"Mike, Hå" <mike@example.com>');

samuel.wolf@wolf-maschinenbau.de 2016-09-23 16:18:46
>> In all this example [1] is a quotation mark if the name contains a comma.
>
> Correct, quotations are required in that case.
Thats the problem, the name doesn't contain the quotations.

No IMP error, sorry for the noise.