[Bug 280026] Incorrect size of Base64 encoded attachment

Thomas Kear thomas.kear at gmail.com
Fri Jan 27 01:31:06 GMT 2012


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





--- Comment #2 from Thomas Kear <thomas kear gmail com>  2012-01-27 01:31:06 ---
Created an attachment (id=68218)
 --> (http://bugs.kde.org/attachment.cgi?id=68218)
Patch for kmime_content.cpp to fix this issue

Still appears broken in 4.8.0.  Hopefully this patch is the right approach to
fixing it.

Rather than simply changing the existing logic from the current size*3/4 to
size*4/3 I've used the maxEncodedSizeFor method from Base64Codec for a
hopefully more accurate estimate.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list