Re: PHP 4.0 Bug #8486 Updated: Error parsing form data field names in rfc1867.c
| From: | Nalin Dahyabhai | Date: | Thu, 18 Jan 2001 07:25:22 +0000 |
| Subject: | Re: PHP 4.0 Bug #8486 Updated: Error parsing form data field names in rfc1867.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44447@lists.php.net to get a copy of this message | ||
On Wed, Jan 03, 2001 at 10:53:10AM -0000, Bug Database wrote:
> ID: 8486
> Updated by: stas
> Reported By: nalin+php@redhat.com
> Old-Status: Open
> Status: Closed
> Bug Type: Scripting Engine problem
> Assigned To:
> Comments:
>
> fixed in CVS (ported fix from PHP 3), thanks. Please check
> and report if you still have problems.
I finally got some time to pull the diff from 1.54 to 1.56 and try
it out. It's better, but not quite right. It looks like the variable
name isn't being terminated in the right place -- a dump of the output
from phpinfo() shows that the variable names include a carriage return
at the end of their names ("testvariable^M").
Terminating at the first whitespace or semicolon if s is NULL, or at
the carriage return if there's no more whitespace or semicolons, might
be the right thing to do at that point.
If a dump of the client POST request and/or the output of phpinfo()
would be of any help, I can provide them.
Thanks,
Nalin