https://bz.apache.org/bugzilla/show_bug.cgi?id=58660

--- Comment #22 from Andrii Pitukh <andy_...@ukr.net> ---
(In reply to Mark Thomas from comment #21)
> That behaviour is expected in 8.0.30. The ChatServlet isn't written to
> handle reuqests to the root of the context that don't have a trailing slash.
> Whether it should or not is open to debate.
> 
> The default for mapperContextRootRedirectEnabled has changed for back to the
> pre 8.0.29 behaviour for 8.0.31 onward.

Ok, so I'll just set to "true" mapperContextRootRedirectEnabled and
mapperDirectoryRedirectEnabled, to restore old behavior and not bother about
default values.

BTW, in changelog (https://tomcat.apache.org/tomcat-8.0-doc/changelog.html)
it's said:
"Move the functionality that provides redirects for context roots and
directories where a trailing / is added from the Mapper to the DefaultServlet."

And in "context config"
(https://tomcat.apache.org/tomcat-8.0-doc/config/context.html) the description
of mapperContextRootRedirectEnabled is following:
"If enabled, requests for a web application context root will be redirected
(adding a trailing slash) if necessary by the Mapper rather than the default
Servlet.".

I suppose, you need to update "context config" given that redirect
functionality is now only in DefaultServlet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to