Gary-Airwallex opened a new issue #2771:
URL: https://github.com/apache/apisix/issues/2771
### Issue description
Admin api appears to match config Id by prefix instead of an exact string
match.
### Environment
* apisix version (cmd: `apisix version`): 2.0
* OS: osx + linux
### Minimal test code / Steps to reproduce the issue
1. PUT a new upstream with id: abc
2. GET upstream by id: ab
### What's the actual result? (including assertion message & call stack if
applicable)
The upstream abc is returned.
### What's the expected result?
A NOT_FOUND is expected here
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]