[dev] MIME.php wrapHeaders corrupting filenames

Samuel Nicolary sam at nicolary.org
Thu Aug 19 18:46:13 PDT 2004


On Wed, 18 Aug 2004, Michael M Slusarz wrote:

> Quoting Samuel Nicolary <sam at nicolary.org>:
>
> > The following function in the MIME framework module is under certain
> > circumstances taking long filenames which have spaces in them and
> > replacing a space in the filename with a tab:

[snip]

> If this solution doesn't work, most likely we will have to just have
> the line be
> longer than 78 characters since that is the only way I can see right now that
> would work with most/all mailers.

I tried to develop my suggestion further and it got ugly fast.  I think
you are right - stick to the 998 limit and ignore the suggested 78.  It is
easy fast and complient with the RFC MUST requirements.

--
Sam Nicolary



More information about the dev mailing list