Re: Skip URL escape on redirect

2019-03-06 Thread Calin Pavel
Hi Martin, It works fine if using this status code. Thank you for your help. Calin Pavel On 3/6/2019 5:47 PM, Martin Grigorov wrote: Hi, Use RedirectToUrlException(yourUrl, HttpServletResponse.SC_SEE_OTHER) See https://markmail.org/message/bis57nb2yecdgzqx for more details. It has been discu

Re: Skip URL escape on redirect

2019-03-06 Thread Martin Grigorov
Hi, Use RedirectToUrlException(yourUrl, HttpServletResponse.SC_SEE_OTHER) See https://markmail.org/message/bis57nb2yecdgzqx for more details. It has been discussed last week. On Wed, Mar 6, 2019 at 5:02 PM Calin Pavel wrote: > Hello, > > I'm doing a redirect from Wicket code like* throw new

Re: Skip URL escape on redirect

2019-03-06 Thread Maxim Solodovnik
IMO better way would be to create hash for encoded URL On Wed, 6 Mar 2019 at 22:02, Calin Pavel wrote: > > Hello, > > I'm doing a redirect from Wicket code like* throw new > RedirectToUrlException("http://mydomain/file(1).txt?Signature=JdfsuerJQEWQA2"); > *and this should redirect user to this

Skip URL escape on redirect

2019-03-06 Thread Calin Pavel
Hello, I'm doing a redirect from Wicket code like*   throw new RedirectToUrlException("http://mydomain/file(1).txt?Signature=JdfsuerJQEWQA2"); *and this should redirect user to this page which is accessible if signature is valid (checks if URL did not changed). But, when doing the redirect W