[cvs] commit: horde/lib MIME.php horde/lib/MIME Message.php Part.php

Michael M Slusarz slusarz at bigworm.colorado.edu
Fri Jul 18 13:11:11 PDT 2003


slusarz     2003/07/18 13:11:11 PDT

  Modified files:
    lib                  MIME.php 
    lib/MIME             Message.php Part.php 
  Log:
  Revert (partially) Jan's commit.  We will continue to have wrapHeaders() do
  RFC 2822 breaking by default.  But, as I've tried to make clear in MIME_Part,
  we do *NOT* internally store data with CRLF, only LF.  Thus, mixing and
  matching linebreaks will cause havoc with mailers (the PHP Mail PEAR classes
  automatically convert from LF to CRLF).
  Instead, add option to wrapHeaders() to allow for user-defined CRLF
  determination; this allows us to use the current EOL value in MIME_Part
  consistently.
  Jan, whatever problem you were having pre-commit, let me know.  All I know is
  that the "\n" only wrapping seemed to be working fine for everyone else for ~5
  months, and once you changed to "\r\n" things started to break all over the
  place. :(
  
  Revision  Changes    Path
  1.111     +8 -7      horde/lib/MIME.php
  1.67      +3 -3      horde/lib/MIME/Message.php
  1.136     +5 -5      horde/lib/MIME/Part.php

  Chora Links:
  http://cvs.horde.org/diff.php/horde/lib/MIME.php?r1=1.110&r2=1.111&ty=u
  http://cvs.horde.org/diff.php/horde/lib/MIME/Message.php?r1=1.66&r2=1.67&ty=u
  http://cvs.horde.org/diff.php/horde/lib/MIME/Part.php?r1=1.135&r2=1.136&ty=u


More information about the cvs mailing list