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=41008>.
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=41008

           Summary: POST request ignores command line parameters
           Product: Tomcat 5
           Version: 5.5.20
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Servlets:CGI
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


example:
<form method="POST" action="test.exe?test1"><input type="hidden"
value="test2"><input type="submit"></form>

this code does invoke the test.exe without passing the test1 command line 
parameter

the example works in apache httpd and ms iis

fix:

CGIServlet.java

           if (!"GET".equals(req.getMethod()) && 
!"POST".equals(req.getMethod()) &&
                    !"HEAD".equals(req.getMethod()))
                return;

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