DewniSubasinghe opened a new issue, #13439:
URL: https://github.com/apache/apisix/issues/13439

   ### Description
   
   The current radixtree_uri_with_parameter router cannot distinguish a literal 
segment from a parameterised one. (APISIX version: 3.14.1)
   For example, with the following routes:
   
   GET /user/comn-language/:tenantId/all
   GET /user/comn-language/:tenantId/:langId
   
   and the request /user/comn-language/123/all, the router cannot determine 
which route to match unless a priority field is manually set.
   The router should be enhanced with a built‑in precedence rule: a literal 
segment always wins over a parameter placeholder when both could match the same 
request.


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