Skip to content

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

Description

@JiLiang888

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)"
}
}

Activity

  1. 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[/+] on Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions