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/21 01:38:10 UTC

[GitHub] [apisix] tzssangglass commented on issue #6171: bug: why request is forwarded to wildcard API?

tzssangglass commented on issue #6171:
URL: https://github.com/apache/apisix/issues/6171#issuecomment-1018083160


   for oper1, the path of request is `/v1/a`, It will be captured by `/v1/*` first, following the depth prefix matching, see: https://github.com/apache/apisix/blob/master/docs/en/latest/router-radixtree.md#3-match-priority
   
   for oper2, the path of request is `/v1/a`, it won't be captured by `/v1/`. 
   
   > doc is error ,A smaller value indicates a higher priority
   > src : If different routes contain the same uri, determine which route is matched first based on the attribute priority. Larger 
   
   Perhaps this is an inaccurate description and priority will work if all other matching conditions are equal.
   
   


-- 
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