Re: PHP bug #4439: Content-Type prepended to uploaded file data.
| From: | Bret Mogilefsky | Date: | Mon, 19 Feb 2001 18:26:36 +0000 |
| Subject: | Re: PHP bug #4439: Content-Type prepended to uploaded file data. | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-46942@lists.php.net to get a copy of this message | ||
Yes indeedy, I rebuilt with the latest rfc1867.c and all problems with
uploads vanished. Thanks for your time!
Bret
On Sun, Feb 18, 2001 at 04:15:04PM -0800, Bret Mogilefsky wrote:
> On Mon, Feb 19, 2001 at 12:51:57AM +0100, Ragnar Kjørstad wrote:
> > On Sun, Feb 18, 2001 at 02:53:16PM -0800, Bret Mogilefsky wrote:
> > > Hi... I'm having the same problem you describe in this message:
> > >
> > >
> > > http://www.geocrawler.com/mail/msg.php3?msg_id=4148034&list=5
> > >
> > > However, the bug appears to be closed in the PHP database and I'm using PHP
> > > 4.04pl1, which is the latest version AFAIK... Do you know if your patch was
> > > incorporated before this version? Do you have any other information on
> > > this problem? Your post is the only bit of information I've been able to
> > > find about it at all, and I'm extremely stuck in what I'm doing until I can
> > > figure out how to resolve it... I'd appreciate any information you have.
> >
> > The patch was integrated into 4.0.3 (I think), and "solved" our problem.
> >
> > In 4.0.4 part of the file-upload code appear to be rewritten, and a
> > simular (but not the same) problem has arisen. Basicly the mime-header
> > parser is crude and ugly code that only handles a subset of the legal
> > header-set.
>
> Looking at the CVS tree now, it appears that the last change to rfc1867.c
> in rev 1.59 (changing strrchr to strchr looking for a boundary) might be
> the one that will fix this problem... I'll try applying a patch and see
> what happens.
--
Bret Mogilefsky * Mgr. SCEA Developer Support * mogul@gelatinous.com