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

   ### Current Behavior
   
   现在有两个路由
   1. 配置域名 `a.com` 路由为 `/*`, 配置 priority 为 9999
   2. 不配置域名 路由为 `/v2/*`, 默认priority 为 0
   
   问题复现
   1. 当运行 `curl http://a.com/v2/x.html` 时会匹配路由2的upstream。
   2. 配置 1 路由添加 `/v2/*` 正常命中路由1请求规则上游
   
   
   ### Expected Behavior
   
   访问 1 中匹配的上游
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   现在有两个路由
   1. 配置域名 `a.com` 路由为 `/*`, 配置 priority 为 9999
   2. 不配置域名 路由为 `/v2/*`, 默认priority 为 0
   
   问题复现
   1. 当运行 `curl http://a.com/v2/x.html` 时会匹配路由2的upstream。
   2. 配置 1 路由添加 `/v2/*` 正常命中路由1请求规则上游
   
   
   ### Environment
   
   docker pull apache/apisix:2.14.1-alpine


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