Issue description
Parameters in path as described here api7/lua-resty-radixtree#37 don't seem to work as expected.
For example I would expect request "/foo/1/bar" to be accepted by route with "uri": "/foo/:id/bar", and request "/foo/bar" rejected. It turns out both requests are matched by the route, like if the colon is functioning as the "*"
Environment
- apisix version (cmd:
apisix version): 1.5
- OS: osx
Issue description
Parameters in path as described here api7/lua-resty-radixtree#37 don't seem to work as expected.
For example I would expect request "/foo/1/bar" to be accepted by route with "uri": "/foo/:id/bar", and request "/foo/bar" rejected. It turns out both requests are matched by the route, like if the colon is functioning as the "*"
Environment
apisix version): 1.5