|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11066 In the uploaded binary file all zero bytes are replaced by 0x20 (32)
Submitted: 2001-05-23 17:40 UTC Modified: 2001-05-27 05:11 UTC
From: korjenevsky at cplire dot ru Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.4pl1 OS: FreeBSD 4.0-RELEASE #6
Private report: No CVE-ID: None
 [2001-05-23 17:40 UTC] korjenevsky at cplire dot ru
Configure command:
'./configure' '--with-apache=../apache_1.3.14rusPL30.1' '--enable-track-vars'

All default values in php.ini file.

Sample script:

<FORM ENCTYPE="multipart/form-data" ACTION="<?=$script?>" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="300000">
<INPUT NAME="inputfile" TYPE="file">
<INPUT TYPE="submit" VALUE="Submit!">
echo "File is uploaded!";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-27 05:11 UTC] korjenevsky at cplire dot ru
The problem has been solved by adding line "CharsetRecodeMultipartForm off" to the httpd.conf file. This is the feature of particular Apache version. 


PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 02:01:23 2020 UTC