Howdy, OK, patch applied, bug marked as fixed. I made sure it still builds, but didn't test CGI servlet beyond that.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Martin Dengler [mailto:[EMAIL PROTECTED] >Sent: Monday, January 05, 2004 3:25 PM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: [PATCH] Bugzilla Bug #19998 fix to CGIServlet handling of >PATH_INFO > >Hello > >This one-line patch fixes Bugzilla bug # 19998. The patch was suggested >by Jim Clark (in the bug report) and Doug Sauder (most recently). > >I am the original author of CGIServlet >(jakarta-tomcat- >catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.jav a) >and support the application of this patch. > >Martin > >--- >Index: catalina/src/share/org/apache/catalina/servlets/CGIServlet.java >=================================================================== >RCS file: >/home/cvspublic/jakarta-tomcat- >catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.jav a,v >retrieving revision 1.10 >diff -u -r1.10 CGIServlet.java >--- catalina/src/share/org/apache/catalina/servlets/CGIServlet.java >13 Dec 2003 22:49:30 -0000 1.10 >+++ catalina/src/share/org/apache/catalina/servlets/CGIServlet.java >5 Jan 2004 20:23:39 -0000 >@@ -898,7 +898,7 @@ > > File currentLocation = new File(webAppRootDir); > StringTokenizer dirWalker = >- new StringTokenizer(pathInfo, File.separator); >+ new StringTokenizer(pathInfo, "/"); > if (debug >= 3) { > log("findCGI: currentLoc=" + currentLocation); > } This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]