https://issues.apache.org/bugzilla/show_bug.cgi?id=46530

           Summary: File upload using 3rd party cgi-bin binary longer
                    working
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
               URL: http://www.csd.toshiba.com
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: [email protected]
        ReportedBy: [email protected]


We are having an issue with Apache HTTPD version 2.2.10 (including latest v11),
and a third party cgi-bin binary for uploading files.  The binary is
precompiled for Solaris OS and we do not have a way to change it. Prior
versions of HTTPD (such as 2.2.9) worked just fine with this binary.  The
binary is called “cp_upload.exe”.

We execute the binary using a POST submit using multipart form.  With version
2.2.10+ the following error occurs:

ERROR:
Usage: cp_upload  –a  configure

Using Fiddler, we captured the response of the form POST and it’s below.  
Nothing seems out of the ordinary. Based on this output from Fiddler data, we
suspect the problem is somewhere between HTTPD and the cgi binary, but we don't
know how to debug this. We may be missing something here.  Any help is greatly
appreciated.

POST /cgi-bin/cp_upload.exe HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-ms-application, application/vnd.ms-xpsdocument,
application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-silverlight, application/x-silverlight-2-b2, */*
Referer: http://idbvap09.tais.net/cgi-bin/lukhondev2/channel/rmaEntry.jsp
Accept-Language: en-us
Content-Type: multipart/form-data;
boundary=---------------------------7d820d16f0b1e
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR
2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; Tablet PC 2.0; InfoPath.2;
.NET CLR 1.1.4322)
Proxy-Connection: Keep-Alive
Content-Length: 18246
Host: idbvap09.tais.net
Pragma: no-cache
Cookie: __utma=65947179.326698554.1207608324.1220484260.1220484305.21;
__utmz=65947179.1216366188.12.4.utmccn=(referral)|utmcsr=idbvap09.tais.net|utmcct=/cgi-bin/dev2/b2c/home.to|utmcmd=referral;
__utma=123205331.338557692.1217432675.1227726498.1228255254.41;
__utmz=123205331.1217432675.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="event"

fileupload
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="sortby"


-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="partToRemove"


-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="rma"


-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="nextPage"

http://idbvap09.tais.net/cgi-bin/lukhondev2/channel/rmaEntry.jsp
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="app_name"

lukhondev2
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="relative_dir"

pr/rmafileupload
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="upload_option"

rename_file
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="ProcessChoice"

FileUpload
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="ThisPage"

channel/rmaEntry.jsp
-----------------------------7d820d16f0b1e
Content-Disposition: form-data; name="FileName";
filename="C:\Users\Lu-Khon\Desktop\lktest.xls"
Content-Type: application/vnd.ms-excel


-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to