https://issues.apache.org/bugzilla/show_bug.cgi?id=56890
--- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> --- Resource paths are expected to start with a "/" (per javadoc of ServletContext.getResource()). [1] The behaviour in Tomcat 8 is caused by a more strict underlying Resources implementation. That said, - I would expect "strict compliance" option (or more specifically GET_RESOURCE_REQUIRE_SLASH option) to control this behaviour both in this and in older versions. Apparently it is not so. [2] - I wonder whether passing "" instead of "/" to getRealPath("") is valid. [1] http://docs.oracle.com/javaee/7/api/javax/servlet/ServletContext.html#getResource%28java.lang.String%29 [2] http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html#Specification -- 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