tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59779] New: useRelativeRedirects being enabled breaks proxyPort and scheme
Date Fri, 01 Jul 2016 15:22:58 GMT

            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

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:
For additional commands, e-mail:

View raw message