Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [Go Service]Response 200 / 404 when key contain non-ASCII char in get keys api #2520

Open
JiLiang888 opened this issue Jul 31, 2023 · 0 comments

Comments

@JiLiang888
Copy link

JiLiang888 commented Jul 31, 2023

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:

  1. Go to this api
image
  1. input key as : Key©§¥1
  2. see response code is 200 ( files exist Key©§¥1)
image see response code is 404 ( files no exist Key1©§¥) image

Expected behavior
{
"response": {
"code": 400,
"message": "'Key©§¥1' is invalid(only standard ASCII characters are allowed)"
}
}

@JiLiang888 JiLiang888 changed the title [BUG] [Go Service]Response 200 when key contain non-ASCII char in get keys api [BUG] [Go Service]Response 200 / 404 when key contain non-ASCII char in get keys api Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants