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

            Bug ID: 59779
           Summary: useRelativeRedirects being enabled breaks proxyPort
                    and scheme
           Product: Tomcat 7
           Version: 7.0.67
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: apa...@neworld.us

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. The only way to stop this globally is to enable
org.apache.catalina.STRICT_SERVLET_COMPLIANCE, 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.

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