have a look and see if "Problem with Crypted URL" thread helps.

francisco

On Fri, Dec 12, 2008 at 12:12 AM, Timm Helbig
<[email protected]> wrote:
> Hello everyone,
>
> For logout from the Application I use the following Code.
>
>        getSession().invalidate();
>        setResponsePage(LoginPage.class);
>        getRequestCycle().setRedirect(true);
>
> When using CryptedUrlWebRequestCodingStrategy the above will not work and runs
> into a RuntimeException (WicketMessage: Invalid URL Root cause: Invalid URL).
>
> The Log says:
>
>        org.apache.wicket.WicketRuntimeException: Unable to decrypt the text 
> 'garbled
> text here'
> at
> org.apache.wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:145)
>        at
> org.apache.wicket.util.crypt.AbstractCrypt.decryptUrlSafe(AbstractCrypt.java:67)
>        at
> org.apache.wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy.decodeURL(CryptedUrlWebRequestCodingStrategy.java:250)
>        at
> org.apache.wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy.decode(CryptedUrlWebRequestCodingStrategy.java:98)
>        at org.apache.wicket.Request.getRequestParameters(Request.java:171)
>        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1233)
>        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
>        at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
> ... many more.
>
> This worked fine with any Wicket 1.3.x release, but not 1.3.5.
>
> Did I missed a change here?
>
> Regards,
> Timm
>
> ---------------------------------------------------------------------
> 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]

Reply via email to