anomy-list

Garbage on pdf attachements using quoted-printable

From: Emmanuel Lacour (74882@xyz.molar.is)
Date: Tue 29 Apr 2003 - 16:00:24 GMT

  • Next message: David Santinoli: "[patch] feat_force_name and text/html"

    Hi,

    First, let's start with a true "thank you" to sanitizer author!! :-)))

    I've got a problem with some pdf attachments.

    I'm using sanitizer 1.57 under debian, with a simple sanitizer.cfg like
    the one attached.

    Thanks for any help.

    Here is the initial beginning of the attachment:
    -----------------------------------------------

    --iBwuxWUsK/REspAd
    Content-Type: application/pdf
    Content-Disposition: attachment; filename="Fichier Non OK.pdf"
    Content-Transfer-Encoding: quoted-printable

    %PDF-1.4=0D%=E2=E3=CF=D3=0A4 0 obj=0D<< =0D/Linearized 1 =0D/O 6 =0D/H [ 81=
    4 165 ] =0D/L 13642 =0D/E 11958 =0D/N 1 =0D/T 13445 =0D>> =0Dendobj=0D =
                                                            xref=0D4 20 =0D0000=
    000016 00000 n=0A0000000744 00000 n=0A0000000979 00000 n=0A0000001157 00000=
     n=0A0000001251 00000 n=0A0000003398 00000 n=0A0000004504 00000 n=0A0000004=
    775 00000 n=0A0000005063 00000 n=0A0000005341 00000 n=0A0000006442 00000 n=
    =0A0000007539 00000 n=0A0000007821 00000 n=0A0000008934 00000 n=0A000001003=
    8 00000 n=0A0000010318 00000 n=0A0000011419 00000 n=0A0000011699 00000 n=0A=
    0000000814 00000 n=0A0000000959 00000 n=0Atrailer=0D<<=0D/Size 24=0D/Info 1=
     0 R =0D/Root 5 0 R =0D/Prev 13436 =0D/ID[<619e03129d3766ba605a0ac502228a58=
    ><9c161d63d8eb95e34bcc0c169095dbcc>]=0D>>=0Dstartxref=0D0=0D%%EOF=0D =
    =0D5 0 obj=0D<< =0D/Pages 2 0 R =0D/Type /Catalog =0D/Metadata 3 0 R =0D>> =

    And here is the same after going through sanitizer:
    --------------------------------------------------

    --iBwuxWUsK/REspAd
    Content-Type: application/pdf
    Content-Disposition: attachment; filename="Fichier Non OK.pdf"
    Content-Transfer-Encoding: quoted-printable

    %PDF-1.4=0D%=E2=E3=CF=D3
    4 0 obj=0D<< =0D/Linearized 1 =0D/O 6 =0D/H [ 814 165 ] =0D/L 13642 =0D/E 1=
    1958 =0D/N 1 =0D/T 13445 =0D>> =0Dendobj=0D =
                                 xref=0D4 20 =0D0000000016 00000 n
    0000000744 00000 n
    0000000979 00000 n
    0000001157 00000 n
    0000001251 00000 n
    0000003398 00000 n
    0000004504 00000 n
    0000004775 00000 n
    0000005063 00000 n
    0000005341 00000 n
    0000006442 00000 n
    0000007539 00000 n
    0000007821 00000 n
    0000008934 00000 n
    0000010038 00000 n
    0000010318 00000 n
    0000011419 00000 n
    0000011699 00000 n
    0000000814 00000 n
    0000000959 00000 n
    trailer=0D<<=0D/Size 24=0D/Info 1 0 R =0D/Root 5 0 R =0D/Prev 13436 =0D/ID[=
    <619e03129d3766ba605a0ac502228a58><9c161d63d8eb95e34bcc0c169095dbcc>]=0D>>=
    =0Dstartxref=0D0=0D%%EOF=0D =0D5 0 obj=0D<< =0D/Pages 2 0 R =0D/Type /C=
    atalog =0D/Metadata 3 0 R =0D>> =0Dendobj=0D22 0 obj=0D<< /S 36 /Filter /Fl=
    ateDecode /Length 23 0 R >> =0Dstream
    H=89b``=10b``=D6c=00=02-F=06l=80=03J=0B a=06=06E=06=1EN=01=DB=16=15C=BE=07=
    =FF=F9Ct=9C=1A~:=B7=E8=F3=97=E8=F0=17=00%=01=02=0C=00=9Dw=08^=0Dendstream=
    =0Dendobj=0D23 0 obj=0D61 =0Dendobj=0D6 0 obj=0D<< =0D/Type /Page =0D/Paren=
    t 2 0 R =0D/Resources << /Font 7 0 R /ProcSet 21 0 R >> =0D/Contents 8 0 R =

    Attachments:
     + http://mailtools.anomy.net/archives/anomy-list//28/43/eaea19e/01.sanitizer.cfg



    hosted by molar.is