monkeyDluffy6017 opened a new pull request, #9047: URL: https://github.com/apache/apisix/pull/9047
### Description Update the default HTTP router from radixtree_uri to radixtree_host_uri . > So when Apache APISIX uses radixtree_uri as the default HTTP router, there is a confusing scenario (even we can say it's a bug): Let's say we have two routes, the first one requires the host matches *.[example.com](http://example.com/), and the URI path is /anything, And the second one needs the host matches [foo.example.com](http://foo.example.com/) exactly, and the URI path is also /anything. In such a case, if we send an API request, we may hit the first route, which is counterintuitive. We also have a lot of voices from the community that users have been in trouble since they think Apache APISIX will consider the HTTP host match by default. However, it's not the case. So I'm here to propose changing the default HTTP router to radixtree_host_uri. Fixes #8354 ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [ ] I have added tests corresponding to this change - [x] I have updated the documentation to reflect this change - [ ] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first) -- 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]
