APItools / router.lua

A barebones router for Lua. It matches urls and executes lua functions.
MIT License
196 stars 47 forks source link

What characters are allowed in parameters? #15

Open jmealo opened 8 years ago

jmealo commented 8 years ago

When I use a parameter with dashes and dots it doesn't parse correctly and "falls through". What characters are expected to work?

In other words

/cache/users/some-schema.cachekey falls through

mikz commented 8 years ago

@jmealo could you provide an lua example for this case?

jmealo commented 8 years ago

Sorry, I don't have the code anymore. As far as I know any use of . was breaking the routing. This seems related to #20.