well, it works if it is:
a, the first access of the WebApp with no provious ReDeploy
b, the root is accessed then

if i redeploy just once, i cant access the root anymore - however the direct
path always works... 
if i redeploy it and access the path before, it chains 

another danger thing is that following works: 
assume you have IndexedPageParams and index.class mounted to /Index:

if you then access it via /Index/foo/bar/Index/foo2

and print out pageparams.toString you only get 0=foo2 , meaning he access it
at last point, and not at first!
This violates JEE security !!!

i also noticed that if you use a servlet and BookMarkablePageLinks the URLs
look like these 127.0.0.1/<servlet>?param=value  - and mounting using a
servlet was not possible at all

Best Regards

Korbinian


> -----Ursprüngliche Nachricht-----
> Von: Johan Compagner [mailto:[EMAIL PROTECTED] 
> Gesendet: Samstag, 11. November 2006 17:30
> An: wicket-dev@incubator.apache.org
> Betreff: Re: Severe Bug in Wicket 2 / WICKET-42
> 
> does it always just work if always your first access is the 
> root of your webapp?
> So if you redeploy or restart then your first request should 
> be the root of your webapp.
> Then afterwards should everything just work.
> 
> This is a bug yes i have to rollback code for this because 
> getServletPath() can't be depended on in a filter 
> configuration. Which we do now.
> 
> johan
> 
> 
> On 11/11/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I issued a severe BUG
> >
> > http://issues.apache.org/jira/browse/WICKET-42
> >
> > Best Regards,
> >
> > Korbinian
> >
> >
> >
> 

Reply via email to