|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20568 Apache2/PHP 4.2.3 File Upload Corruption
Submitted: 2002-11-22 05:22 UTC Modified: 2002-12-04 18:17 UTC
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: dw-php dot net at botanicus dot net Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-11-22 05:22 UTC] dw-php dot net at botanicus dot net
Hi there,

I'm seeing odd corruption occurring to JPEG files (others unconfirmed) when uploading using POST. This is a localhost<->localhost connection, on a file getting uploaded from the same hard disk that the web server saves it to.

Upon downgrading to Apache 1.3.27, the problem went away. At the URL below you can find my configuration details, the code that handles the upload (I'm pretty sure it's not that), and some sample damaged files.

I cannot tell what kind of damage is occurring, the file size changes randomly, as does the visible damage to the image. I have tried with both w3m and Mozilla.

Sample files, the code, my configuration:




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 07:14 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-12-04 18:17 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 16:01:29 2024 UTC