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

--- Comment #8 from NateC <apa...@neworld.us> ---
(In reply to Christopher Schultz from comment #7)
> (In reply to NateC from comment #0)
> > It would be better if org.apache.catalina.connector.Response.sendRedirect
> > could check if any values used to construct the redirect url had been
> > modified during the processing of the request and an absolute response
> > is required.
> 
> Under what conditions would those values be changed in a way that the
> reverse prosy itself didn't know about?

I am not sure what you asking here but are you trying to suggest the reverse
proxy should be content aware and modify the contents of the responses from the
tomcat server to add secure and alter the urls in redirects to be absolute so
that the client ends up at the correct destination rather than having tomcat do
that?

> I'm not saying there is no opportunity for improvement, here, but I don't
> see a use-case where the existing capabilities won't work.

I agree that the it will work with the ability to disable useRelativeRedirects.
My point was just that an upgrade from < 7.0.67 to >= 7.0.67 using a connector
configured as described will break redirects until the contexts are configured
to not use relative redirects. It is more of a backwards compatibility issue
than anything.

-- 
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