https://bz.apache.org/bugzilla/show_bug.cgi?id=59779
--- Comment #1 from Mark Thomas <ma...@apache.org> --- (In reply to NateC from comment #0) > Tomcat 7.0.67 added the ability respond with relative redirects, which > defaults to enabled. If proxyPort or scheme is specified in the connector > which a context uses and the context has useRelativeRedirects the proxy port > and scheme are dropped from redirect. Why is that a problem? The redirect is relative to the current page and the user agent will construct the target URL based on whatever scheme and port it used to connect to the original page. > The only way to stop this globally is > to enable org.apache.catalina.STRICT_SERVLET_COMPLIANCE, No it is not. Defaults for all contexts can be set in $CATALINA_BASE/conf/context.xml. Defaults can also be set per virtual host. > but that changes > other values too. 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. I don't understand the problem. I think a concrete example is required. -- 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