DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41723>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41723

           Summary: POST data is not getting through to CGI-Script
           Product: Tomcat 5
           Version: 5.5.20
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlets:CGI
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I can't really believe that I am the first to stumble on this problem:

Contrary to Version 5.5.17 POST data does not reach the CGI script anymore. In
5.5.17 all parameters where put onto the command line, so POST parameter did
reach the script, albeit not on the way they were intended to reach it.

In 5.5.20 this piece of code has been eliminated; this should not matter,
because STDIN of the script receives req.getInputStream(), which should work
fine. But it doesn't. The problem is, that req.getInputStream() returns an empty
stream (although req.getContentLength() returns the correct value). Obviously
the InputStream has already been read and transformed into parameters, before
the request reaches the CGIServlet.

Am I really the only one with this problem? FYI: I do not use filters to
preprocess data; it is just a simple jsp-page which forwards POST data to a CGI
script.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to