You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/05 03:30:07 UTC

[GitHub] [apisix] zuiyangqingzhou opened a new issue #6019: request help: routing matching rule of radixtree

zuiyangqingzhou opened a new issue #6019:
URL: https://github.com/apache/apisix/issues/6019


   ### Issue description
   
   I have the following list of paths:
   1. /api/a/math/a
   2. /api/math/a
   3. /api/math-aaa
   
   the path rule I configured is /*/math*,  but not work
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #6019: request help: routing matching rule of radixtree

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #6019:
URL: https://github.com/apache/apisix/issues/6019


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #6019: request help: routing matching rule of radixtree

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #6019:
URL: https://github.com/apache/apisix/issues/6019#issuecomment-1005382131


   As the radixtree uses prefix match, it can't handle the case that both head and tail are wildcards.
   You can match it with regex: https://github.com/apache/apisix/blob/master/docs/en/latest/FAQ.md#how-to-use-route-uri-for-regular-matching


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org