The method
org.geoserver.test.GeoServerSystemTestSupport.createRequest(String)
creates an MockHttpServletRequest object for testing. If you call with
"/foo/bar", the servlet path is "/foo" and the pathinfo is "/bar". All our
<filter-mapping> elements in web.xml map all filters to "/*".
IMHO, in this case, the servlet path has to be "" (empty String) and the
path info has to be "/foo/bar". I detected this issue during working on
the security filter tests and I found this
http://bluxte.net/musings/2006/03/29/servletpath-and-pathinfo-servlet-api-weirdness
I want to ask here because I am not 100% sure, but I believe we should fix
this.
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel