Note to Self - invalid resource paths.

"Geoff Longman" <[email protected]> Sat, 18 Feb 2006 01:39:56 -0500
Newsgroups gmane.comp.ide.eclipse.spindle.devel
Message-ID <[email protected]>
Need to check how Tapestry reacts to an invalid resource paths, both
as context and classpath paths.

ie. /../foo.html or /../../foo.html

I suspect in the context case it's up to the servlet container
implmentation - hopefully a call to ServletContext.getResource() would
throw an exception.

ClasspathResource defers to the ClassResolver and DefaultClassResolver
calls getResource() on the classloader. Need to check what the
classloader would do with the above path.


Need to find out, add a compatible check, and test.

G.

--
The Spindle guy.          http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Blog:                     http://jroller.com/page/glongman
Feature Updates:          http://spindle.sf.net/updates


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642