[Bug 172388] New: Attachments saved as filenames enclosed in quotes

Rodney Baker rodney.baker at iinet.net.au
Wed Oct 8 11:16:00 BST 2008


http://bugs.kde.org/show_bug.cgi?id=172388

           Summary: Attachments saved as filenames enclosed in quotes
           Product: kmail
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: rodney.baker at iinet.net.au


Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    SuSE RPMs

When saving attachments from emails sent from Outlook, KMail includes the
quotes from the attachment description in the filename. Outlook adds the
attachment as per the attached screenshot, with the attachment filename  in
quotes, then the description as the filename with no quotes. Here is an example
of the relevant headers from the Outlook email:

Content-Type: application/msword;
       
name="#2782339-v1-Southern_Expressway_RS485_Wiring_Audit_-_July_2008.DOC"
Content-Transfer-Encoding: base64
Content-Description:
#2782339-v1-Southern_Expressway_RS485_Wiring_Audit_-_July_2008.DOC
Content-Disposition: attachment; filename=
        "#2782339-v1-Southern_Expressway_RS485_Wiring_Audit_-_July_2008.DOC"

When saving the attachment from KMail, it encloses the destination filename in
quotes by default. This breaks kde's filetype associations due to the fact that
the filename extension now includes a double quote e.g. KMail saves test.doc as
"test.doc" - KDE then sees the document extension as .doc" and does not
recognise the file type. 

This may well be due to Outlook's handling of attachment filenames (I haven't
read the relevant RFC to see if it is compliant).

The workaround is to delete the quotes from KMail's Save As... dialog before
saving the file, however it would be better if KMail stripped the quotes from
the beginning and end of the filename automatically. Could this be added
please, at least as a configurable option? We already have Outlook
compatibility options for sending emails and invitations, so it shouldn't be
too hard to add an option for receiving attachments also.


-- 
Configure bugmail: http://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