Bug 80123

Summary: Error in header if the attachment is file with cyrillic filename
Product: [Unmaintained] kmail Reporter: Hermann Zheboldov <Hermann.Zheboldov>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hermann Zheboldov 2004-04-22 13:57:28 UTC
Version:           1.6.1 (using KDE 3.2.1, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-99-athlon

This what I get if I try to send file with russian filename. 

--Boundary-00=_BK7hAzR6trxLXwr
Content-Type: application/x-msword;
  name*=koi8-r''%F0%C5%D2%C5%DE%C5%CE%D8%20%D4%C5%CD%20%C4%CC%D1%20%CF%C2%D3%D5%D6%C4%C5%CE%C9%D1%20%CE%C1%20%D3%CF%C2%D2%C1%CE%C9%C9%20%F5%F0%F2%20%E4%E2%F3%201%2Edoc
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename*="koi8-r''%F0%C5%D2%C5%DE%C5%CE%D8%20%D4%C5%CD%20%C4%CC%D1%20%CF%C2%D3%D5%D6%C4%C5%CE%C9%D1%20%CE%C1%20%D3%CF%C2%D2%C1%CE%C9%C9%20%F5%F0%F2%20%E4%E2%F3%201%2Edoc"

Such mailers as Outlook and The Bat doesn't understand "name*" and "filename*" parameters and save attachment with name generated by themselves
Comment 1 Andrey Cherepanov 2004-04-22 14:03:35 UTC
Hi! I have this annoying bug too. Please, see bug # 41558. I make patch for resolving this bug.

*** This bug has been marked as a duplicate of 41558 ***