Project: Tomcat
Bug 41008 POST request ignores command line parameters
Reported: 2006-11-21 09:20:32 | Status: resolved fixed

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;

Files changed in fix:
java/org/apache/catalina/servlets/CGIServlet.java