https://bz.apache.org/bugzilla/show_bug.cgi?id=58228
hed...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hed...@gmail.com --- Comment #4 from hed...@gmail.com --- Created attachment 33233 --> https://bz.apache.org/bugzilla/attachment.cgi?id=33233&action=edit Add opportunity for getRealPath(String) to change behavior in according to value of ApplicationContext.GET_RESOURCE_REQUIRE_SLASH You won't be able to get the expected result (not null) If we call method ServletContext.getRealPath("WEB-INF"). (The class org.apache.catalina.core.ApplicationContext was used in my case ) The bad thing is that I cannot change this behavior without tomcat patching. The issue was fixed for ApplicationContext.getResource(String), but it's still actual for ApplicationContext.getRealPath(String). -- 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