[Kde-pim] Review Request 121937: Fix links to files in TNEF attachements with non-asci characters

Laurent Montel montel at kde.org
Fri Jan 9 17:56:00 GMT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121937/#review73625
-----------------------------------------------------------


The "display name" is broken for you too ?
(in kmail)

- Laurent Montel


On jan. 9, 2015, 1:14 après-midi, Andreas Cord-Landwehr wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121937/
> -----------------------------------------------------------
> 
> (Updated jan. 9, 2015, 1:14 après-midi)
> 
> 
> Review request for KDEPIM and Laurent Montel.
> 
> 
> Repository: kdepim
> 
> 
> Description
> -------
> 
> This patch fixes the generated file links for files in TNEF attachments containing non-ascii-charcters. With this patch, the same file naming scheme is applied as used in KNefParser::extractAttachementTo(...) which first uses att->fileName() and att->file() only as a fallback. The patch contains fixes for all code snippets in KDEPIM using KTNEFParser::extractFileTo(...).
> 
> For the Qt5 based development I would propose to change this patch again, i.e., to change the API of KTNEFParser to return a proper path to the extracted file. (However, that would be a change in KDEPIMlibs and probably too invasive for the 4.14 branch.) That would also allow to get code that can be much easier unit-tested.
> 
> 
> Diffs
> -----
> 
>   ktnef/ktnefmain.cpp e9d9bef 
>   plugins/messageviewer/bodypartformatter/application_ms-tnef.cpp 3ac8bfe 
> 
> Diff: https://git.reviewboard.kde.org/r/121937/diff/
> 
> 
> Testing
> -------
> 
> Tested manually with a TNEF attachement containing German umlauts in file names.
> 
> 
> File Attachments
> ----------------
> 
> Test Mail
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/01/09/e15d4abb-bd12-472b-b4da-cefbb264bf19__tnef.mbox
> 
> 
> Thanks,
> 
> Andreas Cord-Landwehr
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list