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/03/01 09:24:49 UTC

[GitHub] [tomcat] markt-asf commented on pull request #479: Fix Response#sendRedirect() if no request context exists.

markt-asf commented on pull request #479:
URL: https://github.com/apache/tomcat/pull/479#issuecomment-1055206076


   Thanks for that example.
   The right way to fix this will depend on the answer to the question "If a rewrite valve is configured at the Host level, is it a requirement that a context is present that matches the original request?" If yes, this is a documentation issue. If no, this is a Tomcat bug.
   I'm currently leaning towards a "no" based on your use case. I can't really see a justification for requiring either a `ROOT` context or an `myOldApp` context.


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