Bug #2417 Updated: When some client POST a request with "short" boundary -- php return error
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:58:42 +0000 |
| Subject: | Bug #2417 Updated: When some client POST a request with "short" boundary -- php return error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10696@lists.php.net to get a copy of this message | ||
ID: 2417
Updated by: sander@php.net
Reported By: pfroment@gemme.net
-Status: Open
+Status: Bogus
Bug Type: Parser error
Operating System: Solaris 2.5
PHP Version: 3.0.12
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[1999-10-01 08:09:29] pfroment@gemme.net
With php 3.x and php4 when you parse POST messgae, you don't test the
"complete boundary" ( i.e --boundary) for each kind off DataType
But some "CGI client" like perl 5.0.x check complete boundary for
validate his send (ie they test if --$boundary is not present in DATA
sending).
In the case of perl, I report the problem because the default boundary
is "000" (Zero..Zero).
So when I send MultiPart and Field with alue equal to "X000" (like Y2K
--> 2000) php don't receive all data and hang up.
I check PHP3 (mime.c) and PHP4 beta 2 (rfc1867.c) the problem is the
same.
Could you make some think to correct this feature, Like NEWBOUNDARY.
Best Regards.
Pascal FROMENT
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2417&edit=1