Apache OpenOffice (AOO) Bugzilla – Issue 21297
The system has a bug when decode base64 code in method decodeHeaderFieldBody() of INetMIME;
Last modified: 2004-06-28 09:17:56 UTC
By the old source code, you can’t decode the base64 code that is end with one or two‘=’. INetMIME ::decodeHeaderFieldBody() { In line 3249. Error code: nCount = nShift == 6 ? 2 : 1; True code: nCount = nShift == 6 ? 1 : 2; }
mh->sb: please have a look.
accepted
Patch applied (also added tools/workben/inetmimetest.cxx). This fix should pose no backwards-compatibility problems with chaos mail im-/export, as that export only uses quoted printable, not base64.
Test: tools/workben/inetmimetest.cxx 1.1.2.1.
closed