tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59779] New: useRelativeRedirects being enabled breaks proxyPort and scheme
Date Fri, 01 Jul 2016 15:22:58 GMT
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: apache@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message