Re: PHP 4.0 Bug #4439 Updated: PHP doesn't handle content-transfer-encoding header on form-based file upload

From: Date: Mon, 31 Jul 2000 18:47:45 +0000
Subject: Re: PHP 4.0 Bug #4439 Updated: PHP doesn't handle content-transfer-encoding header on form-based file upload
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-27086@lists.php.net to get a copy of this message
On Sun, Jul 30, 2000 at 12:07:01PM -0000, Bug Database wrote: > ID: 4439 > Updated by: zak > Reported By: php@ragnark.vestdata.no > Status: Feedback > Bug Type: Scripting Engine problem > Assigned To: > Comments: > > Is this a PHP issue or a cURL issue - does anyone want to test this out? > > Full Bug description available at: http://bugs.php.net/?id=4439 Sorry for not using the webinterface - I don't remember my password. According the the curl developer, it was a php-bug. I also detected a simular problem (the result is different, but they both seem to be caused by invalid assumptions in the parsing-code). When I send the following http request: (only relevant part) POST /login.php HTTP/1.0 User-Agent: Lynx/2.8.3dev.18 libwww-FM/2.14 Content-type: multipart/form-data; boundary=xnyLAaB03X Content-length: 610 --xnyLAaB03X Content-Disposition: form-data; name=input Content-Type: text/plain; charset=iso-8859-1 yes --xnyLAaB03X Content-Disposition: form-data; name=next Content-Type: text/plain; charset=iso-8859-1 --xnyLAaB03X Content-Disposition: form-data; name=brukarnamn Content-Type: text/plain; charset=iso-8859-1 eurofoto@ragnark.vestdata.no --xnyLAaB03X-- php produces the error: File upload error - no name component in content disposition in Unknown on line 0 -- Ragnar Kjorstad

« previous php.dev (#27086) next »