[Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Neil.Lv
I want get the these strings ( http://test.com/file.zip12345678 ) from the URL (http://localhost:8080/download.html?link=http://test.com/ file.zip12345678) Thanks very much! Cheers, Neil -- You received this message because you are subscribed to the Google Groups Lift group. To

[Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Neil.Lv
On Mar 9, 9:56 pm, Marius marius.dan...@gmail.com wrote: You need to do URL encoding first. Helpers.urlEcnode(str) does this. case RewriteRequest( ParsePath(List(download, link), html, _, _), GetRequest, _) =

Re: [Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Naftoli Gugenheim
I think he means he wants to access query parameters. - Mariusmarius.dan...@gmail.com wrote: You need to do URL encoding first. Helpers.urlEcnode(str) does this. On Mar 9, 3:47 pm, Neil.Lv anim...@gmail.com wrote: Hi all,   I have a silly question about

[Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Marius
You need to do URL encoding first. Helpers.urlEcnode(str) does this. On Mar 9, 3:47 pm, Neil.Lv anim...@gmail.com wrote: Hi all,   I have a silly question about the URL rewrite .   How to let the URL params can contains the character.   Here is the code: ###  The url rewrite.          

[Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Marius
Your request needs to be like: http://localhost:8080/download.html?link=http%3A%2F%2Ftest.com%2Ffile.zip%2612345678 and on the server side you can get the link from parameter with S.param(link) On Mar 9, 4:38 pm, Neil.Lv anim...@gmail.com wrote:  I want get the these strings