https://issues.apache.org/bugzilla/show_bug.cgi?id=55776

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #7 from Konstantin Kolinko <knst.koli...@gmail.com> ---
-0

Testing behaviour of classloader of Java 1.7.0_45, such a getResource() call
works when resource is in a file system, but returns null if it is in a Jar
file. 

I think that a name containing "/../" or "/./" is not a valid resource name and
you should not expect it to work. I think it is not class loader's job to
normalize resource names.


http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html#getResource%28java.lang.String%29

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