On Tue, Nov 2, 2010 at 2:19 PM, Thijs Koerselman
<[email protected]> wrote:
> myapp:dispatch_post(handlePost, "/something/(%a+)")
> For example, this is ok:
> http://localhost:8080/something/testthis
> and this is not:
> http://localhost:8080/something/test_this

It is doing exactly what you asked - the characters following
/something/ are expected to be alphabetic only %a.  Maybe you want
something like ([%w_]+) to be more permissive?

steve d.

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to