You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2022/10/21 06:54:02 UTC

[GitHub] [tomcat] markt-asf commented on pull request #558: It is time to stop using absolute redirects

markt-asf commented on PR #558:
URL: https://github.com/apache/tomcat/pull/558#issuecomment-1286536223

   `useRelativeRedirects` is already `true` by default. However, the Servlet specification *requires* (see section 5.5) that Tomcat uses absolute redirects. Therefore, if `STRICT_SERVLET_COMPLIANCE` is `true`, absolute redirects are used.
   Note that, generally, the only reason to enable `STRICT_SERVLET_COMPLIANCE` is to pass the TCK. In normal production usage I'd expect this to be `false`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org