• exec/load/mimehdr.js

    From rswindell@VERT to CVS commit on Tuesday, April 30, 2019 08:35:00
    exec/load mimehdr.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv17421

    Added Files:
    mimehdr.js
    Log Message:
    Library supporting RFC2047: MIME Message Header Extensions
    Decodes those funky strings you see in message (e.g. email) headers: =?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?= =?UTF-8?B?UmVtaW5kZXI6IFdlc3Rlcm4gUml2ZXJzaWRlIENvdW50eSBDb21tdW5pdHkg?=



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, April 30, 2019 21:17:00
    exec/load mimehdr.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14869

    Modified Files:
    mimehdr.js
    Log Message:
    Fix decode() - encoded-words are not space-delimited
    Add to_cp437() - returns a CP437 representation of the passed header value



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, May 01, 2019 02:50:00
    exec/load mimehdr.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv29212

    Modified Files:
    mimehdr.js
    Log Message:
    From RFC2047:
    Any amount of linear-space-white between 'encoded-word's,
    even if it includes a CRLF followed by one or more SPACEs,
    is ignored for the purposes of display.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, May 01, 2019 08:08:00
    exec/load mimehdr.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv9959

    Modified Files:
    mimehdr.js
    Log Message:
    'Q' encoding is only "similar to" Quoted-Printable: underscores must be converted to spaces.
    Stripping control chars from decoded header values too: we don't want
    someone getting cute w/embedded Ctrl-A codes or ANSI escape sequences.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, May 01, 2019 08:33:00
    exec/load mimehdr.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv13302

    Modified Files:
    mimehdr.js
    Log Message:
    strip_ctrl() works on strings, not objects.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, May 02, 2019 00:08:00
    exec/load mimehdr.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6311

    Modified Files:
    mimehdr.js
    Log Message:
    Another difference in RFC2047 'Q' encoding:
    "Upper case should be used"
    Compared with RFC0245 Quoted-Printable encoding:
    "Uppercase letters must be used"

    <sigh>
    Really.. these specs were written by the same (MIME) working-group?



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, July 24, 2019 22:07:17
    exec/load mimehdr.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv26384

    Modified Files:
    mimehdr.js
    Log Message:
    The 3rd field of an "encoded word" can be blank.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net