On Mar 9, 9:56 pm, Marius <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.