Re: Slashes in query/context parameter

"Thiago H. de Paula Figueiredo" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAE_88GZC1GhxmDPdCmSai7CBJU743LKgMGgeHsa_J9rLVOuQhQ@mail.gmail.com>
On Tue, Jun 20, 2017 at 1:12 PM, Nathan Quirynen <
[email protected]> 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 I use the %2F notation):
>
> *Input string '[...]' is not valid; the character '/' at position 7 is not
> valid.*
>

How are you getting this query parameter value? I believe
Request.getParameter() should give you the right value without issues.


>
> How can I achieve what I need with Tapestry?
>
>
> Nathan
>
>


-- 
Thiago
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.