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

From: Date: Sun, 14 May 2000 16:43:56 +0000
Subject: PHP 4.0 Bug #4439: PHP doesn't handle content-transfer-encoding header on form-based file upload
Groups: php.dev 
Request: Send a blank email to php-dev+get-18722@lists.php.net to get a copy of this message
From: php@ragnark.vestdata.no Operating system: RH linux 6.0 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Scripting Engine problem Bug description: PHP doesn't handle content-transfer-encoding header on form-based file upload When submitting forms with (known binary) files with the "curl" http-client, php fails to recognize the content-transfer-encoding header, causing the file to be crippled. (The header (except the first character) is placed in the file along with the data). Let me quote a phrase from section 3.3 of RFC 1867: The value supplied for a part may need to be encoded and the "content-transfer-encoding" header supplied if the value does not conform to the default encoding.

« previous php.dev (#18722) next »