singleton icon indicating copy to clipboard operation
singleton copied to clipboard

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

Open JiLiang888 opened this issue 1 year ago • 0 comments

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

  2. input key as : Key©§¥1

  3. 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 avatar Jul 31 '23 05:07 JiLiang888