[BUG] [Go Service]Response 200 / 404 when key contain non-ASCII char in get keys api
Open
@Xiaochao8 is already working on this.
Since Jul 31, 2023.
area/go-service
priority/medium
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Describe the bug
[BUG] [Go Service]Response 200 / 404 when key contain non-ASCII char in get keys api
To Reproduce
Steps to reproduce the behavior:
- Go to this api
- input key as : Key©§¥1
- see response code is 200 ( files exist Key©§¥1)
Expected behavior
{
"response": {
"code": 400,
"message": "'Key©§¥1' is invalid(only standard ASCII characters are allowed)"
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.