-Igor
On 4/4/06, Juergen Donnerstag <
[EMAIL PROTECTED]> wrote:
I think we are doing it already, but haven't checked the code.
Juergen
On 4/4/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> we might have to base64 the encoded string before putting it into the url.
>
> -IGor
>
>
>
> On 4/4/06, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:
> >
> The error message means that the string to be decrypted does not have
> the proper/expected length (padding). The problem is the encrypted
> string must be URL encoded to make sure that only chars are use which
> are allowed in URLs. The only reason I can think of: The following
> equation should be true: url == decode(encode(url)), but obviously it
> is not. What would be helpful if you were able to provide as the
> un-encoded (original) url and the encode one which fails to decrypt.
>
> Juergen
>
> On 4/4/06, Ramnivas Laddad < [EMAIL PROTECTED]> wrote:
> > Just a bit more information: I switched non-crypted request and
> > response. With that change, application works just fine.
> >
> > -Ramnivas
> >
> > Ramnivas Laddad wrote:
> > > I have a tree with each node containing an AjaxLink. Clicking on
> > > certain links works correctly, but others fail with a 500 error.
> > >
> > > I am using WebRequestWithCryptedUrl, creating by my application as
> > > follows:
> > > protected WebRequest
> newWebRequest(HttpServletRequest
> > > servletRequest) {
> > > return new
> WebRequestWithCryptedUrl(servletRequest);
> > > }
> > >
> > > While trying to debug the problem, I see that for the failed links, a
> > > BadPaddingException (with message "Given final block not properly
> > > padded") is thrown when
> AbstractCrypt.decryptStringToByteArray () calls
> > > the crypt() method. This in turn throws a WicketRuntimeException
> > > leading to a 500 error.
> > >
> > > I am using just the default crypt factory and this is with 1.2-beta3.
> > >
> > > Any ideas what could be the problem.
> > >
> > > -Ramnivas
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > > language
> > > that extends applications into web and mobile media. Attend the live
> > > webcast
> > > and join the prime developer group breaking into this new coding
> > > territory!
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> > that extends applications into web and mobile media. Attend the live
> webcast
> > and join the prime developer group breaking into this new coding
> territory!
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------
>
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
>
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
