RE: Tomcat 3.2.3 and getPathInfo

2001-09-11 Thread Marc Saegesser
. Marc Saegesser -Original Message- From: Jason Hunter [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:45 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 3.2.3 and getPathInfo Marc Saegesser wrote: Using Apache 1.3.19 here's what I see. Apache does

Re: Tomcat 3.2.3 and getPathInfo

2001-09-10 Thread Jason Hunter
Message- From: Jason Hunter [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:45 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 3.2.3 and getPathInfo Marc Saegesser wrote: Using Apache 1.3.19 here's what I see. Apache does normalize the URL but there is a small

RE: Tomcat 3.2.3 and getPathInfo

2001-08-30 Thread Marc Saegesser
* be in the query string. Marc Saegesser -Original Message- From: Jason Hunter [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:45 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 3.2.3 and getPathInfo Marc Saegesser wrote: Using Apache 1.3.19 here's what I see. Apache does

RE: Tomcat 3.2.3 and getPathInfo

2001-08-27 Thread Marc Saegesser
the servlet expert group about whether the normalization plans are going into the specification. Marc Saegesser -Original Message- From: Jason Hunter [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 12:25 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat 3.2.3 and getPathInfo So what

Re: Tomcat 3.2.3 and getPathInfo

2001-08-27 Thread Jason Hunter
Marc Saegesser wrote: Using Apache 1.3.19 here's what I see. Apache does normalize the URL but there is a small difference between what it does and what Tomcat does. Apache does not remove multiple adjacent / characters. For example, http://server/cgi-bin/script/fu/bar -- PATH_INFO =

Re: Tomcat 3.2.3 and getPathInfo

2001-08-26 Thread Justin Erenkrantz
On Sun, Aug 26, 2001 at 10:24:30PM -0700, Jason Hunter wrote: So what does the Apache Web Server do for PATH_INFO on a request to http://foo.com/cgi-bin/somecgi/http://extra.com? Ask for /index.html/http://extra.com with httpd-2.0, it strips out the second /. (gdb) print r-path_info $5 =

RE: Tomcat 3.2.3 and getPathInfo

2001-08-24 Thread Marc Saegesser
Comments in line. Marc Saegesser -Original Message- From: Jason Hunter [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 11:32 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Tomcat 3.2.3 and getPathInfo Marc Saegesser wrote: I just tried this using

Re: Tomcat 3.2.3 and getPathInfo

2001-08-24 Thread cmanolache
On Thu, 23 Aug 2001, Jason Hunter wrote: Hmm... I wonder if Tomcat has the right to make illegal what HTTP would allow? My understanding is that a URL _can_ be transformed - and all servers are normalizing it before matching. The problem is that the servlet spec defines the mappings in a

Tomcat 3.2.3 and getPathInfo

2001-08-23 Thread Jason Hunter
It seems that Tomcat 3.2.3 has a bug (a regression) that hits my book's Example 5-5. See: http://www.servlets.com/jservlet2/examples/ch05/index.html#ex05_05 The bug is that for the following URL: http://www.servlets.com/jservlet2/examples/ch05/goto/http://www.servlets.com the goto servlet

RE: Tomcat 3.2.3 and getPathInfo

2001-08-23 Thread Marc Saegesser
, August 23, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.2.3 and getPathInfo It seems that Tomcat 3.2.3 has a bug (a regression) that hits my book's Example 5-5. See: http://www.servlets.com/jservlet2/examples/ch05/index.html#ex05_05 The bug is that for the following URL: http

Re: Tomcat 3.2.3 and getPathInfo

2001-08-23 Thread Jason Hunter
Marc Saegesser wrote: I just tried this using the SnoopServlet that ships with Tomcat using a URL like http://localhost:8080/servlet/SnoopServlet/http://fubar and got /http:/fubar as the path info. Your description makes it look like your losing http: in addition to the one of