View Issue Details

IDProjectCategoryView StatusLast Update
0003000SOGoWeb Mailpublic2016-05-06 19:19
Reporterpkocvara Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version2.2.10 
Summary0003000: Wrong attachment name displayed in webmail - extra space inserted
Description

Mails that have attachment with long encoded name that split on more lines, extra space is added to attachemnt name that is displayed in webmail. This is a problem if this space is inserted in filename extension (see attached screenshot).

Additional Information

snip from affected email (from attached screenshot)

--------------090808090109010605060200
Content-Type: application/msword;
name="=?ISO-8859-2?Q?Sezn=E1men=ED_s_dokumentem_8=5FSPO=5FF04=5F2014=2Edo?=
=?ISO-8859-2?Q?c?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename0=ISO-8859-2''%53%65%7A%6E%E1%6D%65%6E%ED%20%73%20%64%6F%6B%75;
filename1=%6D%65%6E%74%65%6D%20%38%5F%53%50%4F%5F%46%30%34%5F%32%30%31;
filename2=%34%2E%64%6F%63

TagsNo tags attached.

Activities

pkocvara

pkocvara

2014-11-26 07:18

reporter  

wrong_attachment_name.png (31,106 bytes)   
wrong_attachment_name.png (31,106 bytes)   
dani

dani

2015-01-21 16:29

reporter   ~0008101

The same problem also affects Subject display. For example, I have an email whose subject is:

Subject: =?utf-8?Q?[GLPI_#0018098]_Nouvelle_t=C3=A2che_probl=C3=A8mes_encodage_tou?=
=?utf-8?Q?jours?=

Which should be seen as

[GLPI #0018098] Nouvelle tâche problèmes encodage toujours

But, when viewing it on SOGo, I get

[GLPI #0018098] Nouvelle tâche problèmes encodage tou jours

(Note the extra space tou*jours)

Damien Gombault

Damien Gombault

2015-05-27 12:26

reporter   ~0008540

I confirm this problem with subjects display.

Damien Gombault

Damien Gombault

2015-05-27 12:26

reporter  

space-bug.png (16,196 bytes)   
space-bug.png (16,196 bytes)   
JEF

JEF

2015-05-28 13:14

reporter   ~0008543

I missed your report and reported it again few days ago. Now I found what is wrong. Just look here http://www.sogo.nu/bugs/view.php?id=3215 .

ludovic

ludovic

2015-05-28 18:33

administrator   ~0008544

I don't have this issue. Can you please retest with a nightly build?

pkocvara

pkocvara

2015-06-02 06:45

reporter   ~0008551

Tested with updated ZEG (201506010127) and with released 2.3.0 and problem persists.

Entire problematic message is uploaded for testing (zipped).

pkocvara

pkocvara

2015-06-02 06:45

reporter  

mail.zip (36,283 bytes)
ludovic

ludovic

2016-05-06 19:19

administrator   ~0010062

That has been fixed a little while ago.

Issue History

Date Modified Username Field Change
2014-11-26 07:18 pkocvara New Issue
2014-11-26 07:18 pkocvara File Added: wrong_attachment_name.png
2015-01-21 16:29 dani Note Added: 0008101
2015-05-27 12:26 Damien Gombault Note Added: 0008540
2015-05-27 12:26 Damien Gombault File Added: space-bug.png
2015-05-28 13:15 JEF Note Added: 0008543
2015-05-28 18:33 ludovic Note Added: 0008544
2015-06-02 06:45 pkocvara Note Added: 0008551
2015-06-02 06:45 pkocvara File Added: mail.zip
2016-05-06 19:19 ludovic Note Added: 0010062
2016-05-06 19:19 ludovic Status new => resolved
2016-05-06 19:19 ludovic Resolution open => fixed
2016-05-06 19:19 ludovic Assigned To => ludovic