You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Jean-Baptiste Quenot <jb...@apache.org> on 2007/01/11 12:31:49 UTC
WicketFilter fails for filter mapping /* and non-root context
Hi gang,
I just filed a new issue on JIRA:
https://issues.apache.org/jira/browse/WICKET-205
This problem exists since a long time, and still exists on the
filter. I hope you can apply the fix before releasing Wicket 1.3.
Thanks in advance!
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
Re: WicketFilter fails for filter mapping /* and non-root context
Posted by Jean-Baptiste Quenot <jb...@apache.org>.
Hi Johan,
Thanks for your explanation.
* Johan Compagner:
> What is your full rootpath? Isnt that for the homepage the url itself?
Full rootpath is empty string. Homepage URL is "/". I will
update the patch accordingly.
Thanks,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
Re: WicketFilter fails for filter mapping /* and non-root context
Posted by Johan Compagner <jc...@gmail.com>.
That is for the jsessionid in the url:
http://localhost/hangman;jsessionidxxxx
So that code seems correct.
What is your full rootpath? Isnt that for the homepage the url itself?
johan
On 1/12/07, Jean-Baptiste Quenot <jb...@apache.org> wrote:
>
> More on this. Today I noticed the homepage (the / URI) doesn't
> work with my patch and noticed a very strange semicolon in
> WicketFilter.isWicketRequest() code:
>
> //
> if ((url.length() > fullRootPath.length())
> && (url.charAt(fullRootPath.length()) == ';'))
> {
> return true;
> }
>
> I don't know if it's intentional but I find it very weird. Of
> course replacing it with a slash fixes the problem.
>
> Anyone interested in fixing that issue or at least to comment on
> it?
>
> Thanks,
> --
> Jean-Baptiste Quenot
> aka John Banana Qwerty
> http://caraldi.com/jbq/
>
Re: WicketFilter fails for filter mapping /* and non-root context
Posted by Jean-Baptiste Quenot <jb...@apache.org>.
More on this. Today I noticed the homepage (the / URI) doesn't
work with my patch and noticed a very strange semicolon in
WicketFilter.isWicketRequest() code:
//
if ((url.length() > fullRootPath.length())
&& (url.charAt(fullRootPath.length()) == ';'))
{
return true;
}
I don't know if it's intentional but I find it very weird. Of
course replacing it with a slash fixes the problem.
Anyone interested in fixing that issue or at least to comment on
it?
Thanks,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/