Bug 232965 - often a quote is appended to attachment filename
Summary: often a quote is appended to attachment filename
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 251939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-01 15:02 UTC by Silver Salonen
Modified: 2015-04-12 09:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Salonen 2010-04-01 15:02:23 UTC
Version:           1.13.2 (using KDE 4.4.1)
Installed from:    openSUSE RPMs

I often get PDF-files with e-mails. Very often the names of the files are appended a single quote, eg: filename.pdf"

The filename is OK in fancy headers, but it's wrong at the bottom of the message. When clicking on it, Okular says it cannot find the file (I guess the file is saved, but refferred to incorrectly, with quote appended to it).

The problem may be related to encoding: it seems to happen only with filenames containing any estonian letters: üõöä
Comment 1 Silver Salonen 2010-04-01 15:07:04 UTC
Ah, I checked about file being saved incorrectly.. it is saved with a quote appended to it, so I guess it's saved incorrectly and referred to without a quote?
Comment 2 Sybren Stüvel 2010-10-01 09:18:47 UTC
I can confirm this behaviour. Here are the headers for an attachment that shows this bug:

Content-Type: image/png; name="image002.png"
Content-Description: image002.png
Content-Disposition: inline; filename="image002.png"; size=16819;
	creation-date="Thu, 04 Feb 2010 16:22:14 GMT";
	modification-date="Thu, 04 Feb 2010 16:22:14 GMT"
Content-ID: <image002.png@01CAA5B6.36A11E00>
Content-Transfer-Encoding: base64

My mail server is accessed using IMAP. It seems to be related to the "load attachments on demand" setting. On my computer it is turned on, which results in this bug. When I turn that setting off the bug disappears.

KMail version 1.13.5
Using KDE Development Platform 4.4.5 (KDE 4.4.5)

Running Kubuntu Linux 10.04
Comment 3 Jose Couto 2011-12-20 17:14:25 UTC
I'm suffering the same problem with debian unstable's version of kmail (1.13.7 with KDE 4.7.4). These are the headers for the file:

Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation;
	name="SAT20112024_VF_IPV6_PROOF_OF_CONCEPT_v0.4.pptx"
Content-Description: SAT20112024_VF_IPV6_PROOF_OF_CONCEPT_v0.4.pptx
Content-Disposition: attachment;
	filename="SAT20112024_VF_IPV6_PROOF_OF_CONCEPT_v0.4.pptx"; size=1449021;
	creation-date="Wed, 30 Nov 2011 12:14:04 GMT";
	modification-date="Wed, 07 Dec 2011 16:10:52 GMT"
Content-Transfer-Encoding: base64
Comment 4 Ian Turner 2012-02-28 14:04:29 UTC
Confirmed on kmail 1.13.5 / KDE 4.4.5, I also experience this bug as described.
Comment 5 Laurent Montel 2012-07-12 11:33:04 UTC
*** Bug 251939 has been marked as a duplicate of this bug. ***
Comment 6 Ian Turner 2012-07-15 13:53:37 UTC
Sybren: Where do you find this "Load Attachments on Demand" option?
Comment 7 Sybren Stüvel 2012-07-18 06:30:21 UTC
It looks like this option was removed somewhere between when I filed this bug and KMail version 4.8.3 (which I have installed now).
Comment 8 Laurent Montel 2015-04-12 09:41:35 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.