httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48554] New: mod_fcgid corrrupts POST data
Date Fri, 15 Jan 2010 15:12:37 GMT

           Summary: mod_fcgid corrrupts POST data
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_fcgid

Using Apache 2.2.14 (or 2.2.13) with mod_fcgid 2.3.4 and PHP fast cgi (any PHP
version, I tried a dozen before realizing the problem was not in PHP) corrrupts
POST data when doing an upload (form encoding type = multipart/form-data), at
least with large uploads (a couple hundred KB or more). I've only seen this
with JPEG images which get all messed up, but it probably happens with other
files too. Some (very few) images seem to upload OK: it might be that they are
not affected or that they are little affect and still display right. The size
of the original image and of an uploaded damaged imaged is exactly the same.
However, using vbindiff I can the that the damaged image has lots of changed

To resolve this issue which was causing major trouble in my production server,
I downgraded to mod_fcgid 2.2 (which is the previous version available in the
FreeBSD ports). Being so, I cannot show a live example of the bug.

To reproduce the bug, just use any PHP upload script, for example:

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message