Ticket #294 (new Bug)
Opened 9 months ago
Quoted-printable decoding problem
| Reported by: | dbosso | Owned by: | Cyrus Daboo |
|---|---|---|---|
| Priority: | major | Milestone: | unassigned |
| Component: | Application | Version: | v4.0.8 |
| Severity: | Serious | Keywords: | |
| Cc: | Operating System: | Mac OS X | |
| OS Version: |
Description
A message part that starts:
Content-Type: text/richtext; charset=iso-8859-1; name="document.doc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="document.doc"; size=122335
=D0=CF=11=E0=A1=B1=1A=E1=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00>=00= =03=00=FE=FF=09=00=06=00=00=00=00=00=00=00=00=00=00=00=01=00=00=00O=00=00=00= =00=00=00=00=00=10=00=00Q=00=00=00=01=00=00=00=FE=FF=FF=FF=00=00=00=00N=00= =00=00=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=
Ends up looking like this when extracted (hexdump):
0000000 d0 cf 11 e0 a1 b1 1a e1 20 20 20 20 20 20 20 20 0000010 20 20 20 20 20 20 20 20 3e 20 03 20 fe ff 09 20 0000020 06 20 20 20 20 20 20 20 20 20 20 20 01 20 20 20 0000030 4f 20 20 20 20 20 20 20 20 10 20 20 51 20 20 20 0000040 01 20 20 20 fe ff ff ff 20 20 20 20 4e 20 20 20 0000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
So the NULLs are being decoded as spaces. I'd be happy to test a fix on a sample message.
I've seen this on OS X, not tested on other platforms.