|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: korjenevsky at cplire dot ru
New email:
PHP Version: OS:


 [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: Sat Oct 31 11:01:24 2020 UTC