Bug #2417: When some client POST a request with "short" boundary -- php return error
| From: | pfroment at gemme dot net | Date: | Fri, 01 Oct 1999 12:09:29 +0000 |
| Subject: | Bug #2417: When some client POST a request with "short" boundary -- php return error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11409@lists.php.net to get a copy of this message | ||
From: pfroment@gemme.net
Operating system: Solaris 2.5
PHP version: 3.0.12
PHP Bug Type: Parser error
Bug description: When some client POST a request with "short" boundary -- php return
error
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