I've been hitting a similar bug with MixedParamUrlCodingStrategy and Stateless forms. I haven't had a chance to create a sample yet so I just changed encoding strategies for the time being.
I believe your bug is similar to the one I''m hitting. I'm using Wicket version 1.3.7. I'll try to post a simple case to see if it really is identical. -Clint On Wed, Oct 21, 2009 at 12:51 PM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote: > so is it jetty/tomcat doing the conversion of relative url to > absolute? because looks like they are doing it incorrectly... > > -igor > > On Wed, Oct 21, 2009 at 9:11 AM, Wayne Pope > <waynemailingli...@googlemail.com> wrote: > > Hi, > > > > firstly I'm sure this is something we are doing wrong here and is not > > an issue with wicket however we're lost as to what to do to solve it. > > > > We have a page mounted like this: > > mount(new MixedParamUrlCodingStrategy("/cube/todos", > WhichTaskPage.class,..... > > > > We then request this page: > > http://locolhost:8080/cube/todos/1/116 > > > > In the constructor of WhichTaskPage with throw a > > RestartResponseAtInterceptPageException (and I have tried just using > > setResponsePage) to another page. > > > > Now in WebRequestCycle.redirectTo(final Page page) the line: > > redirectUrl = page.urlFor(IRedirectListener.INTERFACE).toString(); > > > > creates the following url: ../../../?wicket:interface=:13:::: > > > > further up the call stack Jetty/Tomcat returns a HTTP 302 with the > location: > > http://localhost:8080/../../../?wicket:interface=:13:::: > > > > > > Now the issue: > > > > Firefox seems to be smart enough to then request the following url > > (I'm using a the sniffer call fiddler for this): > > GET /?wicket:interface=:3:::: HTTP/1.1 > > this resolves and works fine. > > However Internet Explorer does what its asked and redirect to: > > GET /../../../?wicket:interface=:3:::: HTTP/1.1 > > > > This url does exists and Tomcat/Jetty returns HTTP 400 > > > > > > This is effecting all our IE users and we're in a bit of a panic as > > how to solve it. Any ideas? > > many thanks > > Wayne > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >