On Thu, Feb 23, 2012 at 4:09 PM, Bartosz Jakubowski <bumbu...@wp.pl> wrote: > I've had the same issue. It happens when you have mounted home page to "/" > and another page Foo to "/foo". Then the URL with jsessionid looks like > this: /foo/..;jsessionid and the mapper of page Foo takes it as if it is a > URL to this page with parameter "..". And this mapper always goes before > home page mapper, because it has score 1 for matching first segment. > > I fixed it by overloading newWebRequest in Application class: > > protected WebRequest newWebRequest(HttpServletRequest servletRequest, > String filterPath) { > WebRequest webRequest = super.newWebRequest(servletRequest, > filterPath); > return new ServletWebRequest(servletRequest, filterPath, > webRequest.getUrl().canonical()); > }
https://issues.apache.org/jira/browse/WICKET-4401 There is a patch attached to this ticket. Try it and send feedback. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org