Bug 241929 - Debian creates invalid mime attachment when attaching file with enter in filename
Summary: Debian creates invalid mime attachment when attaching file with enter in file...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.3
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 22:20 UTC by Clara Gnos
Modified: 2015-04-12 10:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Mail created by kmail (948 bytes, application/mbox)
2010-06-16 22:20 UTC, Clara Gnos
Details
Tar with example file with enter in filename (20.00 KB, application/x-tar)
2010-06-16 22:21 UTC, Clara Gnos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clara Gnos 2010-06-16 22:20:03 UTC
Created attachment 48061 [details]
Mail created by kmail

Version:           1.13.3
OS:                Linux

I attached  simple file with an enter in the filename in kmails composer and noticed that the resulting mails always have a complete destroyed mime attachment. I attach a test.mbox with such an email created by kmail and a test_enter.tar which has an example file included with an enter in its filename

Reproducible: Didn't try

Steps to Reproduce:
 1. open kmail
 2. press "new"
 3. attach file with enter in filename
 4. press message -> "save as draft" (send would also work, but this is easier for an local test)
 5. Go into your drafts folder
 6. open mail you send
 7. press right mouse on the attachment symbol
 8. click on "open with..."
 9. open it with kate

Actual Results:  
The file you attached now starts with something like:

%2Etxt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename*=us-ascii''test
%2Etxt

and after that there is the actual file data

Expected Results:  
Just get the file data without that scrambled mime header stuff
Comment 1 Clara Gnos 2010-06-16 22:21:48 UTC
Created attachment 48062 [details]
Tar with example file with enter in filename
Comment 2 Laurent Montel 2015-04-12 10:02:15 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.