httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48554] New: mod_fcgid corrrupts POST data
Date Fri, 15 Jan 2010 15:12:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48554

           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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: iamsoordinary@gmail.com


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
bytes.

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:
http://php.about.com/od/advancedphp/ss/php_file_upload.htm

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message