RedirectToUrlException in Wicket 6

2014-01-31 Thread Gereon Steffens
Hi, I'm currently migrating a project from Wicket 1.5 to Wicket 6.13 and just noted that RedirectToUrlException behaves differently. In Wicket 1.5 the onDetach() callbacks get invoked on the components throwing the exception, in Wicket 6 this does not seem to be the case anymore. Is this a bug

Re: RedirectToUrlException in Wicket 6

2014-01-31 Thread Gereon Steffens
Grigorov Wicket Training and Consulting On Fri, Jan 31, 2014 at 11:14 AM, Gereon Steffens gereon.steff...@finanzen100.de wrote: Hi, I'm currently migrating a project from Wicket 1.5 to Wicket 6.13 and just noted that RedirectToUrlException behaves differently. In Wicket 1.5 the onDetach

Re: RedirectToUrlException in Wicket 6

2014-01-31 Thread Gereon Steffens
, Jan 31, 2014 at 12:13 PM, Gereon Steffens gereon.steff...@finanzen100.de wrote: Sure. My stripped-down test page class looks like this: class MyPage extends WebPage { MyPage(PageParameters pp) { super(pp); throw new RedirectToUrlException(http://example.com;, 302

Set-Cookie Headers sent twice

2012-12-20 Thread Gereon Steffens
Hi, I'm having a problem with Set-Cookie headers that I currently can't reproduce in a quickstart, and I'm out of ideas where to look in my code. What happens is that when I add a cookie in a page constructor, the Set-Cookie headers are sent twice in the response, although addCookie() is only

Question re: stateless pages and setResponsePage()

2012-09-03 Thread Gereon Steffens
Hi, I have a bunch of stateless pages, each calling setStatelessHint(true) in the constructor to indicate this. I've now noticed that when one of these pages calls setResponsePage, the target page is always considered stateful, since RequestCycle#setResponsePage explicitly resets the hint. Why

Re: Backslash-Escaping of single quotes in URLs?

2011-12-02 Thread Gereon Steffens
/cve-2011-2712.html -igor On Thu, Dec 1, 2011 at 8:45 AM, Gereon Steffens gereon.steff...@finanzen100.de wrote: Hi, I've noticed a change in Wicket 1.4.19 regarding URL parameter encoding. If a parameter value contains a single quote, these quotes are now preceeded by a backslash

Backslash-Escaping of single quotes in URLs?

2011-12-01 Thread Gereon Steffens
Hi, I've noticed a change in Wicket 1.4.19 regarding URL parameter encoding. If a parameter value contains a single quote, these quotes are now preceeded by a backslash (this happens in RequestCycle#encodeUrlFor). Why is this done? I've never heard of backslash-escaping in relation to URLs. As

Re: Backslash-Escaping of single quotes in URLs?

2011-12-01 Thread Gereon Steffens
. On Thu, Dec 1, 2011 at 6:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: this was done in r1150391 by martin for http://wicket.apache.org/2011/08/23/cve-2011-2712.html -igor On Thu, Dec 1, 2011 at 8:45 AM, Gereon Steffens gereon.steff...@finanzen100.de wrote: Hi, I've noticed