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

Tomasz <tomasz.mac...@comarch.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|8.0.20                      |8.0.30
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #2 from Tomasz <tomasz.mac...@comarch.pl> ---
Bug is still existing on tomcat 8.0.30 (and probably tomcat 7.x)
I debug source code of tomcat and find, that ROOT context (with empty "path" in
configuration server.xml) is added to ContainerBase class (HashMap name
children) in key "", but i suppoust it shoud add ROOT context with key "/". Bug
is probably in line 2036 in class org.apache.catalina.core.StandardContext,
when set path.

When i want to get root context (class ApplicationContext.getContext("/")) i
can't call it with empty string parameter, because method check param and
return null (!uri.startsWith("/")). When I call it with param "/" , I have
null. 

Please check it - it is very important for us.

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