Bug 245281 - attachment names containing utf8 and quote characters are truncated
Summary: attachment names containing utf8 and quote characters are truncated
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: 1.13.5
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2010-07-21 06:25 UTC by Denis Prost
Modified: 2011-05-02 15:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: kdepim 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Prost 2010-07-21 06:25:55 UTC
Version:           1.13.5 (using KDE 4.4.4) 
OS:                Linux

when the attachment name contains an utf8 character, for example "à", and a simple quote, only the part after the simple quote appears as attachment name.

(with kde 4.4.5, not in the proposed KDE version list above)

Reproducible: Always

Steps to Reproduce:
1) touch "à la Caisse d'Epargne"
2) attach that file to a message

Actual Results:  
the attachment name that appears is "Epargne"

Expected Results:  
The attachment name should be "à la Caisse d'Epargne"

OS: Linux (i686) release 2.6.33.6-pclos1.bfs
Compiler: gcc
Comment 1 Laurent Montel 2010-07-21 17:53:40 UTC
I can confirm it
Perhaps a bug in:
QString KMMessagePart::fileName( void ) const;
Need to investigate
Comment 2 Laurent Montel 2010-07-21 18:02:44 UTC
it's this function which creates this bug
    return KMMsgBase::decodeRFC2231String( str );
Comment 3 Christophe Marin 2011-05-02 15:46:09 UTC
Cannot reproduce with the given steps in KMail2. The issue is fixed in kdepim 4.6