On 27/01/2023 16:19, Mark Thomas wrote:
On 27/01/2023 14:11, Rémy Maucherat wrote:
On Fri, Jan 27, 2023 at 2:51 PM <ma...@apache.org> wrote:
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit ce8621750e4f74229bffa7e42e648523b91b91de
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jan 27 12:57:39 2023 +0000
Redirect no longer required for root mapping
But this would break directory listing for the webapp root right ?
In the case where a servlet is mapped to the context root, yes. There
would be no way to pass a request to '/' to the default servlet.
Note that ROOT already effecively behaved like this.
Thinking about this again, that isn't quite right.
Mapping a servlet to the context root blocks directory listings at the
context root for all contexts prior to this change. I believe the only
impact of this change is that when /context-root is requested and a
Servlet is mapped to the context root there is no redirect to
/context-root/ before the request is passed to the Servlet.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org