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 <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
