hi,
I can't get ParsePath to work when using the endSlash argument.
This does work for /foo/bar :
LiftRules.statelessRewrite.append {
case RewriteRequest(ParsePath(List("foo", "bar"), _, _, _), _, _)
=> RewriteResponse(List("test"))
}
however, this doesn't work for /foo/bar/ :
LiftRules.statelessRewrite.append {
case RewriteRequest(ParsePath(List("foo", "bar"), _, _, true), _,
_) => RewriteResponse(List("test"))
}
The true value should indicate that the URI is ending at a slash, but
it doesn't seem to work. It will give a http 404 not found with
message "The Requested URL /foo/bar/ was not found on this server".
Here some a problem example:
https://github.com/PragProgger/lifttest2
g...@github.com:PragProgger/lifttest2.git