[Bug 241929] New: Debian creates invalid mime attachment when attaching file with enter in filename

Robert Wohlrab robert.wohlrab at gmx.de
Wed Jun 16 21:20:09 BST 2010


https://bugs.kde.org/show_bug.cgi?id=241929

           Summary: Debian creates invalid mime attachment when attaching
                    file with enter in filename
           Product: kmail
           Version: 1.13.3
          Platform: Debian unstable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: robert.wohlrab at gmx.de


Created an attachment (id=48061)
 --> (http://bugs.kde.org/attachment.cgi?id=48061)
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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list