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, _) =>
                   RewriteResponse(List("download"),
                     Map("link" ->  Helpers.urlEncode(link) ))

   I add this code in here, but it doesn't work too.

   S.param("link")
  => Full(http://test.com/file.zip)

  Thanks!


Cheers,
  Neil

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to