Baoyuantop commented on issue #13439:
URL: https://github.com/apache/apisix/issues/13439#issuecomment-4551737106

   `radixtree_uri_with_parameter` currently provides parameterized path 
matching, for example `/blog/:name` can match `/blog/dog`. When multiple routes 
can match the same request, APISIX currently relies on the route `priority` to 
resolve the conflict. APISIX does not currently define an additional rule that 
a literal path segment must always win over a parameter segment.
   
   If we add this behavior, we should also discuss the compatibility impact: 
with the same priority, requests that previously matched a parameterized route 
may start matching a more specific literal route. Could you please provide the 
full Admin API route configurations, the priority values of both routes, and 
the observed matched route/upstream result? With that complete example, we can 
evaluate this as a router enhancement and design the corresponding tests.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to