Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
authortimw <timw@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 4 Oct 2010 20:19:09 +0000 (20:19 +0000)
committertimw <timw@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 4 Oct 2010 20:19:09 +0000 (20:19 +0000)
commite30594760d4f80b3210237f4b6c60dfaf0096c5d
tree747c89a59a5d25654989b19b1ea0e17edb88ba75
parentd83dada114a8450b3fc5c539486e1ca60738bda9
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
Always calculate path of resource to be served relative to the context root.
This invokes the standard protection of WEB-INF and META-INF directories.
This is a breaking change for the unofficial use of DefaultServlet to remount the webapp base under a new path.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1004393 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/servlets/DefaultServlet.java