Please take me off this reply list. Thanks
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 20, 2005 5:01 PM
To: Tomcat Users List
Subject: Re: org.apache.catalina.valves.RemoteHostValve issue
Tony Tomcat wrote:
> Actually.. according to
Tony Tomcat wrote:
ok. got off my lazy butt and looked at the code. RemoteHostValve uses
request.getRequest().getRemoteHost()
so just the javadoc needs updating for RemoteHostValve.java. I'm sure this
was just a copy of RemoteAddrValve. ;-)
Looks like it. I have just committed a fix to CVS.
eturn values
for getRemoteHost calls.
From: *Tony Tomcat <[EMAIL PROTECTED]>*
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: *Sep 20, 2005 4:35 PM*
Subject: *Re: org.apache.catalina.valves.RemoteHostValve issue*
Reply | Reply to all | Forward | Print | Add sender to Contacts list |
Tony Tomcat wrote:
Actually.. according to the documentation the RemoteHostValve and
RemoteAddrValve both do the same thing..
They both say...
"Concrete implementation of RequestFilterValve that filters based on the
string representation of the remote client's IP address."
The javadoc is exa
>
> -- Forwarded message --
> From: Mark Thomas <[EMAIL PROTECTED]>
> To: Tomcat Users List
> Date: Wed, 17 Aug 2005 08:03:45 +0100
> Subject: Re: org.apache.catalina.valves.RemoteHostValve issue
> Tony Tomcat wrote:
> > Does the RemoteHostValve w
Tony Tomcat wrote:
Does the RemoteHostValve work? There are no examples in the Tomcat 5
docs and the tomcat 4 docs have the following..
The docs have been updated for 4 and 5 not to use this example.
The problem is that . is a special character in a regular expression
and needs to be esc
Does the RemoteHostValve work? There are no examples in the Tomcat 5
docs and the tomcat 4 docs have the following..
Any regex starting with * fails in Tomcat 5 and you can also see this
happen on the Regex test applet.
http://jakarta.apache.org/regexp/applet.html
Does anyone have some work