Re: Suggestions
Chris Nokleberg <chris-k7PiZI/[email protected]> Fri, 3 Jan 2003 09:51:27 -0800
| Newsgroups | gmane.comp.java.securityfilter.user |
|---|---|
| Message-ID | <20030103175127.GF16236@shorty> |
On Fri, Jan 03, 2003 at 12:39:40AM -0800, Max Cooper wrote:
> I tried 4.1.16-LE-jdk14 and got the same thing I did with 4.1.18-LE-jdk14. I
> had a few items in my CLASSPATH for junit and junitperf, but I cleared those
> out and got the same results. I am using a fresh installation of Tomcat with
> just the hacktest.war file copied to the webapps directory.
>
> I tried a few different user agents and got the same results except for
> wget:
> IE: slash-o-rama
> Netscape 4.7: slash-o-rama
> Mozilla 1.0: slash-o-rama
> curl: slash-o-rama
> wget: normalized
>
> I turned on the access log for Tomcat and tried all the user agents again
> and it seems like wget does its own normalization before making the request.
> I am curious what you get in your access log. How about turning it on and
> seeing what requests are actually coming in.
The URLs are normalized before they even make it to the access log, so I
don't think that's a useful test.
Mozilla and IE work the same for me. Maybe this is the best way, it will
print the version too:
$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
GET /hacktest//////////////test.jsp HTTP/1.0
HTTP/1.1 200 OK
Connection: close
Date: Fri, 03 Jan 2003 17:46:43 GMT
Server: Apache Tomcat/4.1.18-LE-jdk14 (HTTP/1.1 Connector)
Request URI: /hacktest/test.jsp
Request URL: http://localhost:8080/hacktest/test.jsp
Connection closed by foreign host.
Under Windows I only had two environment variables set--JAVA_HOME and
CATALINA_HOME. Ran %CATALINA_HOME%\bin\startup.bat. No CLASSPATH set or
anything.
-Chris
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf