[kmail2] [Bug 95733] KMail should always encode as base64 any non text/* and non message/* MIME part

Daniel Vrátil bugzilla_noreply at kde.org
Mon May 8 08:22:14 BST 2017


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

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/mes
                   |                            |sagelib/a03f5d84e98801a75ea
                   |                            |6ed3e74f6e6a6f8597c46
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.5.1

--- Comment #26 from Daniel Vrátil <dvratil at kde.org> ---
Git commit a03f5d84e98801a75ea6ed3e74f6e6a6f8597c46 by Daniel Vrátil.
Committed on 08/05/2017 at 07:20.
Pushed by dvratil into branch 'Applications/17.04'.

Use base64 encoding for all non-text attachments

KMime::encodingForData() uses character occurence frequency to determine
which encoding to use. This does not work for binary attachments because
any characters can appear there. If a wrong encoding is chosen, CRLF/LF
transformations can break the attachment.

Differential Revision: https://phabricator.kde.org/D5737
FIXED-IN: 5.5.1

M  +21   -4    messagecore/src/attachment/attachmentpart.cpp

https://commits.kde.org/messagelib/a03f5d84e98801a75ea6ed3e74f6e6a6f8597c46

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list