Skip to content
Commit a03f5d84 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

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
BUG: 95733
FIXED-IN: 5.5.1
parent f049e42e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment