Bug 197958

Summary: encoded names of files is not recognized
Product: [Applications] kdepimlibs Reporter: Sergey Y. Afonin <asy>
Component: kmimeAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sergey Y. Afonin 2009-06-26 13:38:20 UTC
Version:           0.99.01 (using 4.2.4 (KDE 4.2.4), ALT Linux i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27-ovz-smp-alt7

Hello.

Names of attachments is not show correctly. For example (created by Thunderbird 2.0.0.22 (Windows/20090605)):

--------------030404060702030205090001
Content-Type: image/jpeg;
 name="=?UTF-8?B?RFNDXzA0ODbQtC5KUEc=?="
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename*=UTF-8''%44%53%43%5F%30%34%38%36%D0%B4%2E%4A%50%47

KNode shows that as

 "=?UTF-8?B?RFNDXzA0ODbQtC5KUEc=?="

Image is not shows too.
Comment 1 Sergey Y. Afonin 2009-08-24 09:44:46 UTC
Hm...

> Removed Product knode  
> Added  Product kdepimlibs

Are you sure ? KMail has another behavour:

1. When the "view attachment is smart" is selected a file name displayed if koi8-r used and not displayed if utf8. But external viewer running correctly.

2. When the "view attachment is inline" is selected a file name displayed correctly in both cases.
Comment 2 Olivier Trichet 2009-08-29 10:47:37 UTC
Sure, Kmail does not use kmime
Comment 3 Torgny Nyblom 2010-02-25 15:36:35 UTC
fixed in r1096001
Add support for decoding RFC2047 encoded parameter values.
(Think Outlook attachments)