https://bz.apache.org/bugzilla/show_bug.cgi?id=58655

--- Comment #8 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Is there a reason why one uses RemoteIpFilter ? There exists a RemoteIpValve
that can be used instead.

1. There are redirects that are performed before a request reaches the filter.
E.g. when using a FORM authentication (FormAuthenticator)

It cannot be solved by using a filter. One has to use RemoteIpValve here.


2. There is an edge case. It is allowed to call sendRedirect() with an absolute
URL. With simple implementation (using relative redirects) it won't be
rewritten.

You have to bear with it (such calls are unlikely) or duplicate a lot of code
from o.a.c.connector.Response.sendRedirect() to implement this feature.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to