Re: Slashes in query/context parameter

2017-06-21 Thread Nathan Quirynen
Hi Cezary, Thanks, exactly what I needed. As I am creating the link with the url parameter in another Tapestry application I can just use the URLEncoder.encode() method. Op 20/06/2017 om 21:57 schreef Cezary Biernacki: Tapestry uses its own encoding (with $ used as escape + four hex digits

Re: Slashes in query/context parameter

2017-06-21 Thread Nathan Quirynen
Hey, I was using @ActivationRequestParameter as I need it to be a part of activation/passivation so it does not get lost when changing language for example. Using Request.getParameter() does work, but then I'm not sure how to use activation/passivation exactly. But as Cezary said in anothe

Re: Slashes in query/context parameter

2017-06-20 Thread Thiago H. de Paula Figueiredo
On Tue, Jun 20, 2017 at 1:12 PM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Hi, > > I have a page that needs to accept an url as query or context parameter. > > So for example: https://abc.com?redirectUrl=https://def.com/abc123/456 > > But Tapestry does not accept the slashes (even if

Re: Slashes in query/context parameter

2017-06-20 Thread Cezary Biernacki
Tapestry uses its own encoding (with $ used as escape + four hex digits unicode) for URLs, see org.apache.tapestry5.services.URLEncoder and implementation org.apache.tapestry5.internal.services.URLEncoderImpl